kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liquan Pei <liquan...@gmail.com>
Subject Re: How to deserialize the object without avro schema?
Date Tue, 19 Apr 2016 07:01:11 GMT
Hi Ratha,

Do you want to give a try to the schema registry and Avro serializers using


On Mon, Apr 18, 2016 at 11:02 PM, Ratha v <vijayaratha@gmail.com> wrote:

> Hi all;
> I try to publish/consume my java objects to kafka. I use Avro schema.
> My basic program works fine. In my program i use my schema in the producer
> (for encoding) and consumer (decoding).
> If i publish different objects to different topics( eg: 100 topics)at the
> receiver, i do not know, what type of message i received. I would like to
> get the avro schema from the received byte and would like to use that for
> decoding. Is that right? If so, how can i retrieve from the received
> object?
> Or is there any better approach?
> Thanks.
> --
> -Ratha
> http://vvratha.blogspot.com/

Liquan Pei
Software Engineer, Confluent Inc

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