Re: Serialization and Deserialization of Avro messages stored in Kafka

2018-03-06 Thread Tzu-Li Tai
Hi Filipe, What Gordon mentioned is correct. Did you manage to fix the issue? >From your code snippet, it looks like that the `Schema` field may not be serializable. Could you double check that? Cheers, Gordon -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

Re: Serialization and Deserialization of Avro messages stored in Kafka

2018-03-06 Thread Gordon Weakliem
The 010 consumer extends 09, so I'd guess whatever code is reporting sees the FlinkKafkaConsumer010 as its superclass. I've seen this error a bunch, and it's because MyDeserializationSchema isn't serializable, or likely one of its fields is not serializable, or one of the fields of its fields - yo

Serialization and Deserialization of Avro messages stored in Kafka

2018-03-02 Thread Filipe Couto
Hello, I have a few topics that I want to read from Kafka, which consist mainly on a key value pair of: timestamp (key) and value (byte array). The bite array doesn't really have a class to deserialize from, since the Avro Record we have comes from a "SELECT * FROM..." that selects several SQL ta