Repository navigation
clink v0.15.0
clink v0.15.0 collects the defects and rough edges found since v0.14.0 into
one release, and ships the ops console v0.3.0. Job modules need rebuilding
against this release; see Compatibility.
pip install pyclink==0.15.0
A source whose input does not divide between subtasks is read once at any
parallelism. A file, a query's result, an Iceberg snapshot, an endpoint
polled over HTTP, a single Parquet object and the nexmark generator were read
in full by every subtask, so a job at parallelism 2 emitted each record twice.
The first subtask now reads, and the others run an idle stand-in that never
holds back event time. Sources that divide their input already, such as Kafka
and Kinesis, are unchanged.
With a token on every node, the Coordinator presents it to its Workers. The
quickstart advises starting every node with CLINK_AUTH_TOKEN, but the
Coordinator read its Workers without it. The console then showed no records,
rates or watermarks, a Worker's logs and metrics answered 401, and
queryable-state reads through the Coordinator came back empty. A Worker that
refuses the Coordinator's token is now reported as a 502 that says so.
The typed API no longer runs a timer under another key. current_key() in
on_timer was the key of whichever record came last. The fluent process
overloads now take a timer key decoder, and without one current_key() in
on_timer throws and names the fix. A window now counts each record that has
no event time in records_dropped_total and logs the first, where before it
fired empty without a word, and an explicit parallelism of 1 is kept rather
than read as unset.
A Coordinator or Worker logs where --log-file says, at --log-level.
Since v0.3.0 the daemons' --log-* flags went unread. They are honoured now.
A finished job is still listed after a Coordinator takeover. The new leader
lists the jobs it reads back from its history, marked from_history, with
their names, and a job stopped at a savepoint reads as stopped. A job
submitted after the takeover numbers above every id in that history.
The ops console v0.3.0. The top bar asks for a token rather than calling
the Coordinator unreachable, a large graph fits at its first view, a stopped
job reads as Stopped with its restart budget as resolved, a source shows the
watermark its stream carries, and a job known only from its history record
shows as a record.
The CHANGELOG lists every change, among them NaN and the infinities surviving a
round trip, TLS clients sending SNI for host names only, the Neo4j lookup's
first read, clink --capabilities listing the Delta Lake sink, and
clink replay --epoch=final on a checkpointed run.
Compatibility.
- Headers on the plugin ABI surface changed (among them
keyed_state.hpp,
pipeline.hpp,snapshots.hpp,worker.hppandcoordinator.hpp), so the
plugin ABI fingerprint rotates. Rebuild job modules against this release; a
cluster refuses an older module at submission and names the headers that
differ. - The checkpoint and state formats and the cluster wire protocol are
unchanged. The HTTP API gains fields and loses none. - Defaults that change: a Worker keeps two completed checkpoints
(--checkpoint-num-retained=1keeps the old footprint); a daemon logs
synchronously unless started with--log-async=true; a source whose input
does not divide is read by one subtask; and a typed timer that reads
current_key()needs a timer key decoder. - A cluster that asks for a token needs the same
CLINK_AUTH_TOKENon every
node. - The SDK tarball needs
libpq5on the host (apt-get install libpq5on
Ubuntu 24.04), as every tarball back to v0.10.0 did without saying so. A
release step now runs it on a stock Ubuntu 24.04 with only that package
added. A C++ project whosefind_package(clink)names no components needs
libpq-devto configure;COMPONENTS coreneeds neither package. The
tarball does not carry the Avro format. - The Kafka to ClickHouse tutorial runs on the native sink and ClickHouse 26.8,
and needs a runtime image from v0.11.0 or later.