Hi Raj

Custom avro source header is easy. 
First defined a map,set the key as header name and value as header value ,
then use EventBuilder.withBody(line.getBytes(),map);
Get custom header please use %{header name} in flume.conf.


--

Regards
Ivan

At 2012-08-06 17:52:52,"rajesh mandava" <[email protected]> wrote:

Hi,
 
Please let me know, how can we customize avro source header.
 
To get the customized output to the hdfs.
 
Thanks
Raj

Reply via email to