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

huxihx commented on KAFKA-10407:
--------------------------------

Merged this to trunk and 2.7 branch.

> add linger.ms parameter support to KafkaLog4jAppender
> -----------------------------------------------------
>
>                 Key: KAFKA-10407
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10407
>             Project: Kafka
>          Issue Type: Improvement
>          Components: logging
>            Reporter: Yu Yang
>            Assignee: huxihx
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> Currently  KafkaLog4jAppender does not accept `linger.ms` setting.   When a 
> service has an outrage that cause excessively error logging,  the service can 
> have too many producer requests to kafka brokers and overload the broker.  
> Setting a non-zero 'linger.ms' will allow kafka producer to batch records and 
> reduce # of producer request. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to