You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "huxihx (Jira)" <ji...@apache.org> on 2020/08/20 01:22:00 UTC

[jira] [Resolved] (KAFKA-10407) add linger.ms parameter support to KafkaLog4jAppender

     [ https://issues.apache.org/jira/browse/KAFKA-10407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

huxihx resolved KAFKA-10407.
----------------------------
    Fix Version/s: 2.7.0
       Resolution: Fixed

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