Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Values for client-state metrics

The client-state  metric values will reflect the current state of the Kafka Streams client instance represented by the KafkaStreams.State enum

Client StateMetric Value
CREATED0
REBALANCING1
RUNNING2
PENDING_SHUTDOWN3
NOT_RUNNING4
PENDING_ERROR5
ERROR6

Values for thread-state metrics

The thread-state  metric values will reflect the current state of a StreamThread  instance represented by the StreamThread.State  enum

Thread StateMetric Value
CREATED0
STARTING1
PARTITIONS_REVOKED2
PARTITIONS_ASSIGNED3
RUNNING4
PENDING_SHUTDOWN5
DEAD6

Values for recording-level metrics

The recording-level metric will map the values in the following table

Recording levelMetric Value
INFO0
DEBUG1

Proposed Changes

These new metrics will be available at the INFO level.  Both the client-state  and thread-state will be updated to reflect the changes in the client or thread state.  The recording-level is determined on startup and contains the configured metrics recording level. 

...