Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fix typo

...

NameTypeDescription
kafka.controller:type=KafkaController,name=ControlledShutdownBrokerCountIntegerThe number of brokers currently in controlled shutdown.
kafka.controller:type=KafkaController,name=BrokerRegistrationState,broker=XInteger

A per-broker metric which displays the following values for the states:

  • 10 when the broker is fenced
  • 20 when the broker is in controlled shutdown
  • 30 when the broker is active

This metric is added when a broker registers and removed when it unregisters. This state is derived from the registration records contained in the metadata log.

kafka.controller:type=KafkaController,name=TimeSinceLastHeartbeatReceivedMs,broker=XLongIntegerA per-broker metric which reports the time in milliseconds since the last heartbeat received by the controller.
The maximum value of this metric is the heartbeat session timeout limit, because the map whose values are being exposed removes the broker's contact time when the broker gets fenced. The default session timeout is 9 seconds.
Only the active controller reports this metric since it's soft state contained in BrokerHeartbeatTracker.
Similar to the other metric, this metric is added when a broker registers and removed when it unregisters.

...