You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Colin P. McCabe (JIRA)" <ji...@apache.org> on 2019/04/30 16:47:00 UTC
[jira] [Resolved] (KAFKA-8134) ProducerConfig.LINGER_MS_CONFIG
undocumented breaking change in kafka-clients 2.1
[ https://issues.apache.org/jira/browse/KAFKA-8134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin P. McCabe resolved KAFKA-8134.
------------------------------------
Resolution: Fixed
> ProducerConfig.LINGER_MS_CONFIG undocumented breaking change in kafka-clients 2.1
> ---------------------------------------------------------------------------------
>
> Key: KAFKA-8134
> URL: https://issues.apache.org/jira/browse/KAFKA-8134
> Project: Kafka
> Issue Type: Bug
> Components: clients
> Affects Versions: 2.1.0
> Reporter: Sam Lendle
> Assignee: Dhruvil Shah
> Priority: Major
> Fix For: 2.3.0, 2.1.2, 2.2.1
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)