kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vahid S Hashemian" <vahidhashem...@us.ibm.com>
Subject Mapping topic partition owner id to group member id?
Date Thu, 05 May 2016 20:55:02 GMT
Hi,

The consumer group command directly uses ZooKeeper (through zkUtils) to 
return information about a consumer group.
Inside a /consumers/[group]/ structure member ids exist under ids/ and 
owner information for each topic partition is under 
owners/[topic]/[partition]/.

An example member id is "[group]_kafka-1462299650388-4b3e54e4", while its 
corresponding owner id (if it's in fact an owner of some partition) is 
"[group]_kafka-1462299650388-4b3e54e4-0".
I am wondering what's the best way of mapping owner id to member id and 
vice versa within a consumer group.

Thanks.
 
Regards,
--Vahid Hashemian

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message