Thanks, Todd.  It's still not working unfortunately.

This results in nothing getting printed to the console and requires kill -9
in another window to stop (ctrl-c doesn't work):

/kafka-console-consumer.sh --bootstrap-server localhost:9092 --zookeeper
<zkhost> --topic __consumer_offsets --formatter
kafka.coordinator.GroupMetadataManager\$OffsetsMessageFormatter

This results in a stack trace because it can't find the class:

./kafka-console-consumer.sh --bootstrap-server localhost:9092 --zookeeper
<zkhost> --topic __consumer_offsets --formatter
kafka.server.OffsetManager\$OffsetsMessageFormatter

Exception in thread "main" java.lang.ClassNotFoundException:
kafka.server.OffsetManager$OffsetsMessageFormatter


I'm on 0.9.0.1. "broker-list" is invalid and zookeeper is required
regardless of the bootstrap-server parameter.


Thanks,

Cliff

On Sun, May 8, 2016 at 7:35 PM, Todd Palino <tpal...@gmail.com> wrote:

> It looks like you’re just missing the proper message formatter. Of course,
> that largely depends on your version of the broker. Try:
>
> ./kafka-console-consumer.sh --broker-list localhost:9092 --topic
> __consumer_offsets
> --formatter kafka.coordinator.GroupMetadataManager\$OffsetsMessageFormatter
>
>
> If for some reason that doesn’t work, you can try
> "kafka.server.OffsetManager\$OffsetsMessageFormatter” instead.
>
> -Todd
>
>
>
>
> On Sun, May 8, 2016 at 1:26 PM, Cliff Rhyne <crh...@signal.co> wrote:
>
> > I'm having difficulty reading the consumer offsets topic from the command
> > line.  I try the following but it doesn't seem to work (along with a few
> > related variants including specifying the zookeeper hosts):
> >
> > ./kafka-console-consumer.sh --broker-list localhost:9092 --topic
> > __consumer_offsets
> >
> > Is there a special way to read the consumer offsets topic?
> >
> > Thanks,
> > Cliff
> >
> > --
> > Cliff Rhyne
> > Software Engineering Manager
> > e: crh...@signal.co
> > signal.co
> > ________________________
> >
> > Cut Through the Noise
> >
> > This e-mail and any files transmitted with it are for the sole use of the
> > intended recipient(s) and may contain confidential and privileged
> > information. Any unauthorized use of this email is strictly prohibited.
> > ©2016 Signal. All rights reserved.
> >
>
>
>
> --
> *—-*
> *Todd Palino*
> Staff Site Reliability Engineer
> Data Infrastructure Streaming
>
>
>
> linkedin.com/in/toddpalino
>



-- 
Cliff Rhyne
Software Engineering Manager
e: crh...@signal.co
signal.co
________________________

Cut Through the Noise

This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized use of this email is strictly prohibited.
©2016 Signal. All rights reserved.

Reply via email to