Re: Sample code or tutorial for writing/reading Avro type message in Samza

2015-11-20 Thread Selina Tech
Hi, Roger: I was looking for schema registry without Confluent. After the investigation for a while. Look like that Confluent's schema registry is a only way. I will study your code for sure. Thanks a lot. Sincerely, Selina On Tue, Nov 17, 2015 at 1:15 AM, Roger Hoover

Re: Sample code or tutorial for writing/reading Avro type message in Samza

2015-11-20 Thread Selina Tech
Hi, Luis: Thanks a lot for your detail reply with your codes and link of Avro schema registry. May I have a question, have you considered protocol buffer as your message type? Sincerely, Selina On Thu, Nov 19, 2015 at 2:22 PM, Luis Casillas < luis.casil...@progressfin.com>

Re: Sample code or tutorial for writing/reading Avro type message in Samza

2015-11-20 Thread Luis Casillas
We haven’t seriously considered Protocol Buffers. In general the tools we’re interested in have better support for Avro than for protobuf; Avro was designed for storing data in big-data storage like HDFS, and many tools for analyzing such data have taken it up. For example Hive comes with

Sample code or tutorial for writing/reading Avro type message in Samza

2015-11-17 Thread Selina Tech
Dear All: Do you know where I can find the tutorial or sample code for writing Avro type message to Kafka and reading Avro type message from Kafka in Samza? I am wondering how should I serialized GenericRecord to byte and deserialized it? Your comments/suggestion are highly

Re: Sample code or tutorial for writing/reading Avro type message in Samza

2015-11-17 Thread Roger Hoover
Hi Selina, If you want to use Confluent's schema registry for Avro, then I have an example in this repo: https://github.com/theduderog/hello-samza-confluent Cheers, Roger On Tue, Nov 17, 2015 at 12:32 AM, Selina Tech wrote: > Dear All: > Do you know where I can