The CDK Data Flume module contains a Log4j appender for writing Avro records to Flume.
The CDK logging example has a usage example for this module.