[ https://issues.apache.org/jira/browse/FLUME-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ferenc Szabo updated FLUME-2771: -------------------------------- Fix Version/s: (was: 1.8.0) 1.9.0 > HeaderAndBodyTextEventSerializer - provide a configurable way to set the > multi-character event delimiter (instead of just a newline) > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: FLUME-2771 > URL: https://issues.apache.org/jira/browse/FLUME-2771 > Project: Flume > Issue Type: Improvement > Components: Sinks+Sources > Reporter: Piotr Wiecek > Priority: Minor > Fix For: 1.9.0 > > > HeaderAndBodyTextEventSerializer - provide a configurable way to set the > multi-character event delimiter (instead of just a newline). > Now we have something like this: > {code:title=HeaderAndBodyTextEventSerializer.java|borderStyle=solid} > @Override > public void write(Event e) throws IOException { > ... > if (appendNewline) { > out.write('\n'); > } > } > {code} > It would be nice to have the ability to configure the massage delimiter: > {code:title=HeaderAndBodyTextEventSerializer.java|borderStyle=solid} > @Override > public void write(Event e) throws IOException { > ... > if (appendDelimiter) { > out.write(delimiter); > } > } > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)