0

How kafka manager to get consumer instance owner? Zookeeper or jmx mbean?

In new kafka version, only use ConsumerGroupCommand.main to get the owner info?

kafka:0.10.1.0

Baby.zhou
  • 561
  • 1
  • 4
  • 25

1 Answers1

1

Since Kafka 0.9 the information is stored at broker. For each group, one of the brokers is selected as the group coordinator. Assigned consumer might change after rebalancing.

Search for ConsumerPartitionOwnershipInfo in the design docs.

Tombart
  • 30,520
  • 16
  • 123
  • 136