Hi Garrett, The global state store doesn't use consumer groups and doesn't commit offsets. The offsets are checkpointed to local disk, so they won't show up with the ConsumerGroupCommand.
That said it would be useful to see the lag, so maybe raise a JIRA for it? Thanks, Damian On Tue, 1 Aug 2017 at 15:06 Garrett Barton <garrett.bar...@gmail.com> wrote: > I have a simple stream setup which reads a source topic and forks to an > aggregation with its own statestore, and a flatmap().to("topic1") and that > topic is read in to a global state store. > > I use ConsumerGroupCommand to query for the lag of each consumer on the > topics. > > https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala > > It seems like ConsumerGroupCommand only shows some consumers, but not all. > I can see the consumer for the original source topic, but I don't see one > for 'topic1', yet the globalstatestore is populated. > > How can I see the lag of the globalstatestore consumer? >