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

add linger.ms parameter support to KafkaLog4jAppender

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: logging
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: