You need to adapt this Tool for your own requirements.

You can possibly use the SchemaBuilder[0] to build a schema @Runtime which
you would then pass to DataFileWriter.write(schema, outStream). Thats how I
would try it over then refine it for your use case. Any others ideas?

[0]
http://avro.apache.org/docs/current/api/java/index.html?org/apache/avro/SchemaBuilder.html

On Tue, Jul 8, 2014 at 5:10 PM, Bhuvana Bellala <
[EMAIL PROTECTED]> wrote:
*Lewis*

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB