DumpLogSegments will give you output something like this :

offset: 780613873770 isvalid: true payloadsize: 8055 magic: 1 compresscodec:
GZIPCompressionCodec

If this is what you want you can use the tool, to detect if the messages
are getting to your brokers.
Console-Consumer will output the messages for you.

Thanks,

Mayuresh


On Wed, Mar 25, 2015 at 9:33 AM, tao xiao <xiaotao...@gmail.com> wrote:

> You can use kafka-console-consumer consuming the topic from the beginning
>
> *kafka-console-consumer.sh --zookeeper localhost:2181 --topic test
> --from-beginning*
>
>
> On Thu, Mar 26, 2015 at 12:17 AM, Victor L <vlyamt...@gmail.com> wrote:
>
> > Can someone let me know how to dump contents of topics?
> > I have producers sending messages to 3 brokers but about half of them
> don't
> > seem to be consumed. I suppose they are getting stuck in queues but how
> can
> > i figure out where?
> > Thks,
> >
>
>
>
> --
> Regards,
> Tao
>



-- 
-Regards,
Mayuresh R. Gharat
(862) 250-7125

Reply via email to