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

ProducerConfig.LINGER_MS_CONFIG undocumented breaking change in kafka-clients 2.1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.3.0, 2.1.2, 2.2.1
    • Component/s: clients
    • Labels:
      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

              • Assignee:
                dhruvilshah Dhruvil Shah
                Reporter:
                slendle Sam Lendle
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: