Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2041

Add ability to specify a KeyClass for KafkaLog4jAppender

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • producer
    • None

    Description

      KafkaLog4jAppender is the Log4j Appender to publish messages to Kafka.
      Since there is no key or explicit partition number, the messages are sent to random partitions.

      In some cases, it is possible to derive a key from the message itself.
      So it may be beneficial to enable KafkaLog4jAppender to accept KeyClass which will provide a key for a given message.

      Attachments

        1. kafka-2041-001.patch
          4 kB
          Benoy Antony
        2. kafka-2041-002.patch
          5 kB
          Benoy Antony
        3. kafka-2041-003.patch
          4 kB
          Benoy Antony
        4. KAFKA-2041.patch
          5 kB
          Benoy Antony
        5. kafka-2041-004.patch
          8 kB
          Benoy Antony

        Issue Links

          Activity

            People

              junrao Jun Rao
              benoyantony Benoy Antony
              Jun Rao Jun Rao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: