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. Log4jAppenderWithWorkingZkConnect.patch
        13 kB
        Stefano Santoro
      2. Log4jAppender.patch
        9 kB
        Stefano Santoro
      3. kafka-244-v3.patch
        14 kB
        Neha Narkhede
      There are no Sub-Tasks for this issue.

        Activity

        Tony Stevenson made changes -
        Workflow Apache Kafka Workflow [ 13052833 ] no-reopen-closed, patch-avail [ 13054982 ]
        Tony Stevenson made changes -
        Workflow no-reopen-closed, patch-avail [ 12648518 ] Apache Kafka Workflow [ 13052833 ]
        Neha Narkhede made changes -
        Assignee Stefano Santoro [ vtkstef ]
        Neha Narkhede made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Neha Narkhede made changes -
        Attachment kafka-244-v3.patch [ 12510454 ]
        Stefano Santoro made changes -
        Attachment Log4jAppenderWithWorkingZkConnect.patch [ 12510447 ]
        Stefano Santoro made changes -
        Attachment Log4jAppender.patch [ 12510260 ]
        Stefano Santoro made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 0.7.1 [ 12319140 ]
        Neha Narkhede made changes -
        Field Original Value New Value
        Labels log4j log4j newbie
        Description Taken from #kafka IRC session with Nehana Khede:

        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
        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
        Stefano Santoro created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development