Worker Rebalance Metrics

The worker rebalance metrics group contains per-worker metrics relating to the rebalancing of tasks. The available metrics are:

  • Completed Rebalances
  • Current Epoch
  • Leader State
  • Time Since Last Rebalance

See also the Kafka Connect metrics available in the monitoring api.

Completed Rebalances

The completed rebalances shows the number of rebalancing operations each worker has gone through since startup. This metric is helpful in identifying when changes to your clusters task distribution and other events are occurring.

Current Epoch

The current epoch metric shows a number that indicates which layout of tasks each worker is operating under. This metric should increase monotonically and be in sync across all the nodes in your cluster. A long term discrepancy in current epoch between nodes indicates that your nodes are not communicating with each other properly.

Leader State

The leader state shows which worker node believes it is the leader for this Kafka Connect cluster. Only one node should be the leader at any one time. Multiple leaders indicates that your nodes are not communicating with each other properly.

Time Since Last Rebalance

Time since last rebalance shows the time in milliseconds since the last time each worker participated in a rebalance. Consistently low numbers or “sawtooth” like behaviour here can indicate instability or a high degree of change in your cluster.

By Instaclustr Support
Need Support?
Experiencing difficulties on the website or console?
Already have an account?
Need help with your cluster?
Contact Support
Why sign up?
To experience the ease of creating and managing clusters via the Instaclustr Console
Spin up a cluster in minutes