Kafka
  1. Kafka
  2. KAFKA-244

Improve log4j appender to use kafka.producer.Producer, and support zk.connect|broker.list options

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.1
    • Fix Version/s: 0.7.1
    • Component/s: clients
    • Labels:

      Description

      Taken from #kafka IRC session with Neha Narkhede:
      The log4j appender is quite obsolete, there are a few things to change there. Make it use the kafka.producer.Producer instead of SyncProducer. That allows you to use either the broker.list or the zk.connect option

      1. kafka-244-v3.patch
        14 kB
        Neha Narkhede
      2. Log4jAppenderWithWorkingZkConnect.patch
        13 kB
        Stefano Santoro
      3. Log4jAppender.patch
        9 kB
        Stefano Santoro

        Activity

          People

          • Assignee:
            Stefano Santoro
            Reporter:
            Stefano Santoro
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development