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

Add support for custom serializer in Kafka Sink

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.0
    • None
    • Sinks+Sources
    • None

    Description

      In 1.6.0, the Kafka sink just sends the content of the body. It would be really cool to be able to have a custom serializer.

      My use case is that I'd like to send some headers as well, or better send the event serialized in JSON:

      {"headers":{...},"body":"..."}

      . There could be: body serializer (current behaviour) and JSON serializer.

      Will try to submit a patch soon if this makes sense.

      Attachments

        1. FLUME-2721-0.patch
          26 kB
          Benjamin Fiorini

        Activity

          People

            Unassigned Unassigned
            bfiorini Benjamin Fiorini
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: