Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2771

HeaderAndBodyTextEventSerializer - provide a configurable way to set the multi-character event delimiter (instead of just a newline)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Sinks+Sources
    • None

    Description

      HeaderAndBodyTextEventSerializer - provide a configurable way to set the multi-character event delimiter (instead of just a newline).

      Now we have something like this:

      HeaderAndBodyTextEventSerializer.java
      @Override
      public void write(Event e) throws IOException {
      ...
          if (appendNewline) {
             out.write('\n');
          }
      }
      

      It would be nice to have the ability to configure the massage delimiter:

      HeaderAndBodyTextEventSerializer.java
      @Override
      public void write(Event e) throws IOException {
      ...
         if (appendDelimiter) {
            out.write(delimiter);
         }
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pwiecek Piotr Wiecek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: