How to determine which consumer is assigned to which section of the topic in kafka?

I create kafka manager tool, and I need to check which partition section is assigned to any consumer in the consumer group.

Suppose that there is a group-Aconsumer-group consumption topic group-Ac n partitions, so group-Athere different VM'scan be several users in hosted in group-A. So how do you determine which partitioned object is assigned to the host? Is this possible in kafka 0.9.1?

Thanks in advance.

+4
source share
1 answer

, $KAFKA_HOME/bin/kafka-consumer-groups.sh kafka manager tool, (, , , IP).

.
 page_visits_10k 0 500 3333 2833 -1_/10.139.176.190
 page_visits_10k 1 0 3334 3334 -1_/10.139.176.190
 page_visits_10k 2 0 3333 3333 -1_/10.139.176.190

+4

Source: https://habr.com/ru/post/1653783/


All Articles