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

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

Yu Yang created KAFKA-10407:
-------------------------------

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


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)