Hi Nandor,

Thanks a lot for this. What you have said makes logical sense but I am new
to Avro so I am just trying to figure out how the schema definition would
like for the following messages

{"hello1":{"foo": 5}}
{"hello2":{"bar": 10}}

I have tried the following schema definition to parse the above messages
but it didnt quite work so I am wondering how the schema should look like?
{
    "type" : "record",
    "name" : "data",
    "namespace" : "example",
    "fields" : [
                {"type":"record","name":"hello1","fields":[{"name":"foo",
"type":"int","default":1}]},
                {"type":"record","name":"hello2","fields":[{"name":"bar",
"type":"int","default":1}]}
               ]
}

On Tue, Jan 9, 2018 at 3:22 AM, Nandor Kollar <[EMAIL PROTECTED]> wrote: