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

ProducerConfig.LINGER_MS_CONFIG undocumented breaking change in kafka-clients 2.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.3.0, 2.1.2, 2.2.1
    • clients
    • None

    Description

      Prior to 2.1, the type of the "linger.ms" config was Long, but was changed to Integer in 2.1.0 (https://github.com/apache/kafka/pull/5270) A config using a Long value for that parameter which works with kafka-clients < 2.1 will cause a ConfigException to be thrown when constructing a KafkaProducer if kafka-clients is upgraded to >= 2.1.

      Attachments

        Issue Links

          Activity

            People

              dhruvilshah Dhruvil Shah
              slendle Sam Lendle
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: