Have you looked at
https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example ?

Thanks,

Jun


On Wed, May 28, 2014 at 10:19 PM, Kumar Pradeep <kprad...@novell.com> wrote:

> Hi,
> I am having trouble in getting my payload message back from the Kafka
> Message in my consumer.
> My producer is passing a byte[] stream Kafka.
> If someone has an examle of how do I get the payload back, please share
> with me. Really appreciate.
> After iterating through the Kafka stream, I am trying to use
> MessageAndMetadata but there are many discrepancies in the parameterization
> of this class.
>
> Thanks, Pradeep
>
>

Reply via email to