consumer_has_lag

consumer_has_lag #

KindAccepts
Domain conditionqueue/group/name fields

Tests whether a consumer group has fallen behind the producer on a queue.

Parameters #

ParameterTypeDescription
queuestringQueue name.
groupstringConsumer group.
namestringConsumer name.

Examples #

consumer_has_lag:
  queue: "my_queue"
  group: "consumer_group"
  name: "consumer_1"

Notes #

Inside a per-record sub-chain (e.g. for_each), field names resolve against the current record’s own attributes (file.path, log_level, …); at pipeline level they resolve against the pipeline context through the _ctx. prefix. See the Conditions reference for details.

Edit Edit this page