[ https://issues.apache.org/jira/browse/KAFKA-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184733#comment-13184733 ]
Neha Narkhede commented on KAFKA-244: ------------------------------------- We had the host and port options before we ported all of that to the broker.list option. It seems like a good idea to keep configuration consistent across the code. Regarding the zk.connect option, I'm interested in seeing why it hangs too, though it sounded like you had a test that failed. I'll try writing one myself and see how that goes. > Improve log4j appender to use kafka.producer.Producer, and support > zk.connect|broker.list options > --------------------------------------------------------------------------------------------------- > > Key: KAFKA-244 > URL: https://issues.apache.org/jira/browse/KAFKA-244 > Project: Kafka > Issue Type: Improvement > Components: clients > Affects Versions: 0.7.1 > Reporter: Stefano Santoro > Labels: log4j, newbie > Fix For: 0.7.1 > > Attachments: Log4jAppender.patch > > > 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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira