简体   繁体   English

kafka经理如何获取使用者实例所有者?

[英]How kafka manager get the Consumer Instance Owner?

How kafka manager to get consumer instance owner? 卡夫卡经理如何获得消费者实例所有者? Zookeeper or jmx mbean ? Zookeeper还是jmx mbean

In new kafka version, only use ConsumerGroupCommand.main to get the owner info? 在新的kafka版本中,仅使用ConsumerGroupCommand.main来获取所有者信息?

kafka:0.10.1.0 卡夫卡:0.10.1.0

Since Kafka 0.9 the information is stored at broker . 从Kafka 0.9开始, 该信息存储在代理中 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 . 设计文档中搜索ConsumerPartitionOwnershipInfo

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM