You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/26 05:22:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16801386#comment-16801386 ] 

ASF GitHub Bot commented on KAFKA-8134:
---------------------------------------

dhruvilshah3 commented on pull request #6502: KAFKA-8134: `linger.ms` must be a long
URL: https://github.com/apache/kafka/pull/6502
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Major
>
> 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)