You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Piotr Wiecek (JIRA)" <ji...@apache.org> on 2015/08/25 13:42:45 UTC

[jira] [Created] (FLUME-2771) HeaderAndBodyTextEventSerializer - provide a configurable way to set the multi-character event delimiter (instead of just a newline)

Piotr Wiecek created FLUME-2771:
-----------------------------------

             Summary: 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: v1.7.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.3.4#6332)