console icon indicating copy to clipboard operation
console copied to clipboard

Missing consumer group partition

Open freef4ll opened this issue 3 years ago • 2 comments

The partition 1 is missed in Console view: (Redpanda Console (Platform Version v22.2) (built August 11, 2022) FC11F77)

rpk describes all 4 paritions and consumer groups:

$ rpk group describe dc-1
GROUP        dc-1
COORDINATOR  0
STATE        Stable
BALANCER     range
MEMBERS      2
TOPIC                      PARTITION  CURRENT-OFFSET  LOG-END-OFFSET  LAG   MEMBER-ID                                                            CLIENT-ID                       HOST
transactions-pending-dc-1  0          95987872        95987872        0     prod_sys_core_102-dc-1:3544736-6b72ef82-8c33-4d06-ac65-d851d328d6f5  prod_sys_core_102-dc-1:3544736  10.142.65.207
transactions-pending-dc-1  1          -               358             358   prod_sys_core_102-dc-1:3544736-6b72ef82-8c33-4d06-ac65-d851d328d6f5  prod_sys_core_102-dc-1:3544736  10.142.65.207
transactions-pending-dc-1  2          356             356             0     prod_sys_core_103-dc-1:3544678-531ad873-34da-4c73-85c6-1594619b7d27  prod_sys_core_103-dc-1:3544678  10.142.65.207
transactions-pending-dc-1  3          358             358             0     prod_sys_core_103-dc-1:3544678-531ad873-34da-4c73-85c6-1594619b7d27  prod_sys_core_103-dc-1:3544678  10.142.65.207

In Console it looks like: empty-consumer-group-missing-partition-1

And partition view looks good: topic-partitions

There is no rendering issues or container errors; container restart doesn't help either.

freef4ll avatar Aug 29 '22 12:08 freef4ll

@freef4ll I'd say these are differences in the view. As you can see, your consumer group doesn't have any offset for partition 1. So technically you are not consuming this partition. RPK interprets this differently than Console in the sense that it considers non-consumed partitions in a topic as a 100% lag where as Console just considers it as unconsumed.

I think it makes sense to align the two tools so that they have a similar representation.

weeco avatar Aug 29 '22 12:08 weeco

  • Console can switch to kadm.Lag

twmb avatar Oct 19 '23 15:10 twmb