You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (JIRA)" <ji...@apache.org> on 2012/07/18 19:43:34 UTC

[jira] [Commented] (KAFKA-311) Allow KafkaLog4jAppender to take in a configurable producer.type

    [ https://issues.apache.org/jira/browse/KAFKA-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417299#comment-13417299 ] 

Neha Narkhede commented on KAFKA-311:
-------------------------------------

Thanks for the patch ! Would it make sense to default to async since the throughput requirement for log4j messages is typically on the higher side ?
                
> Allow KafkaLog4jAppender to take in a configurable producer.type
> ----------------------------------------------------------------
>
>                 Key: KAFKA-311
>                 URL: https://issues.apache.org/jira/browse/KAFKA-311
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.6, 0.7
>            Reporter: Ed Buck
>            Priority: Minor
>         Attachments: KAFKA-311-0.8.patch
>
>
> The kafka log4j in trunk uses only SyncProducer, which means it will get lower throughput than AsyncProducer.
> Change KafkaLog4jAppender to take in the producer.type config and be able to pick either the sync or the async producers. 

--
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