Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10407

add linger.ms parameter support to KafkaLog4jAppender

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • logging
    • None

    Description

      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. 

      Attachments

        Activity

          People

            huxi_2b huxihx
            yuyang08 Yu Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: