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