+1 we do this in Gora.
Please note that there are some overheads with using the builders...
"namely Avro objects can be created either by invoking a constructor
directly or by using a builder. Unlike constructors, builders will
automatically set any default values specified in the schema. Additionally,
builders validate the data as it set, whereas objects constructed directly
will not cause an error until the object is serialized. However, using
constructors directly generally offers better performance, as builders
create a copy of the datastructure before it is written."

Please see

On Wed, Feb 19, 2014 at 5:39 PM, Christophe Taton <[EMAIL PROTECTED]>wrote:


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