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

A new interceptor called Key Interceptor should be created to insert a header with key "key" which will be used in Kakfa Sink

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.6.0
    • None
    • None
    • None

    Description

      Kafka Sink uses the topic and key properties from the FlumeEvent headers to send events to Kafka. If topic exists in the headers, the event will be sent to that specific topic, overriding the topic configured for the Sink. If key exists in the headers, the key will used by Kafka to partition the data between the topic partitions. Events with same key will be sent to the same partition. If the key is null, events will be sent to random partitions.
      If there is a new interceptor called Key Interceptor to insert a header with key "key", much convienience will be brought to Kafka Sink users.

      Attachments

        Activity

          People

            Unassigned Unassigned
            l90006322 Li Ye
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified