SQLStreams

the messaging platform that is just Postgres

You last visited on 9999-99-99 Show what's new since then

worker_liveness [SQL0096]

Edit this page
code SQL0096 · alert — warn, owned by a stream; resolves once every worker row has a live instance
the log line · Report this thread
SQL0096 Alert

As it appears on __system.alerts:

worker_liveness

A stream’s worker rows have no live instance, so nothing runs its upkeep.

A worker row with no live instance does no work: expired partitions are not dropped, exceptions are not retried, and the group’s cursor stops advancing. The hourly check reads the collector’s stream-level unclaimed-worker history and produces an active alert after the pending duration (two minutes by default). The worker names come from the same stored sample as the count. The alert’s data carries unclaimed_count and a workers list with each row’s worker, owner, owner_kind, and target_instances.

Fresh healthy evidence resolves the alert. Missing or stale evidence leaves it unchanged; see pending rules.

Only a process running the manager claims these rows: sqlstreams manager run in a process that stays up, or any Consume on the stream. A produce-only deployment sees this alert on every stream it produces to, because nothing in that process runs upkeep.

sqlstreams alert list
Nothing pasted yet — the queries above show their blanks.

Looking for a different code? Search every thread.