Re: Getting ArrayIndexOutOfBoundException when decoding byte-array with new avro schema

2021-03-07 Thread Prateek Rajput
Please ignore, I have found the solution. *Regards,* *Prateek Rajput* On Sun, Mar 7, 2021 at 10:03 PM Prateek Rajput wrote: > Hi Everyone, > In our use-case we encode avro pojo to byteArray and then push it to > Kafka, but when I am trying to decode this with slightly updated avro pojo >

Getting ArrayIndexOutOfBoundException when decoding byte-array with new avro schema

2021-03-07 Thread Prateek Rajput
Hi Everyone, In our use-case we encode avro pojo to byteArray and then push it to Kafka, but when I am trying to decode this with slightly updated avro pojo (only one new Double field is added with default value 0), I am getting ArrayIndexOutOfBoundException. Now I know this might be expected as