kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Geeting Payload back from Kafka message
Date Thu, 29 May 2014 14:45:58 GMT
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 <KPradeep@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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message