Skip to content

GroupMetadataManager

Creating GroupMetadataManager

Creating Instance

GroupMetadataManager takes the following to be created:

GroupMetadataManager is created alongside a GroupCoordinator.

Performance Metrics

GroupMetadataManager is a KafkaMetricsGroup and registers the following performance metrics in kafka.coordinator.group:type=GroupMetadataManager group.

Metric Name Description
NumGroups
NumGroupsCompletingRebalance
NumGroupsDead
NumGroupsEmpty
NumGroupsPreparingRebalance
NumGroupsStable
NumOffsets

GroupMetadataManager in jconsole

Logging

Enable ALL logging level for kafka.coordinator.group.GroupMetadataManager logger to see what happens inside.

Add the following line to config/log4j.properties:

log4j.logger.kafka.coordinator.group.GroupMetadataManager=ALL

Refer to Logging.