You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Mayuresh Gharat <gh...@gmail.com> on 2021/08/17 23:11:16 UTC

Kafka-consumer-groups.sh says "no active members" but the CURRENT_OFFSET is moving

Hi Folks,

We recently came across a weird scenario where we had a consumer group
consuming from multiple topics. When we ran the "Kafka-consumer-group"
command multiple times, we saw that the CURRENT-OFFSET is advancing;
however , we also saw a line printed:
*"Consumer group 'GROUP_ABC' has no active members."*

The consumer lag graph shows no data from this group.


Here is the output from the Kafka-consumer-groups.sh:

./bin/kafka-consumer-groups.sh --bootstrap-server <HOST:PORT> --group
GROUP_ABC --describe
*Consumer group 'GROUP_ABC' has no active members.*

GROUP                                     TOPIC
PARTITION  CURRENT-OFFSET  LOG-END-OFFSET  LAG             CONSUMER-ID
    HOST            CLIENT-ID*GROUP_ABC*
TOPIC_A                         0          2280611         3861697
    1581086         -               -               -
*GROUP_ABC
*TOPIC_A                         1          3845015         3845015
     0               -               -               -
*GROUP_ABC*                          Topic_B                         2
         530             530             0               -
  -               -*GROUP_ABC
              *TOPIC_A                         2          2387180
   3736450         1349270         -               -               -
*GROUP_ABC*                          TOPIC_B                         0
         655             655             0               -
  -               -*GROUP_ABC*                          TOPIC_B
                 1          563             563             0
     -               -               -


Any idea why this might be happening?


Thanks and regards,

Mayuresh