Sorry my formatting got messed up. here is the schema I used.
{
    "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 Wed, Jan 10, 2018 at 5:08 AM, kant kodali <[EMAIL PROTECTED]> wrote: