You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Guozhang Wang (Jira)" <ji...@apache.org> on 2020/01/01 18:50:00 UTC

[jira] [Resolved] (KAFKA-8928) Logged producer config does not always match actual config values

     [ https://issues.apache.org/jira/browse/KAFKA-8928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guozhang Wang resolved KAFKA-8928.
----------------------------------
    Fix Version/s: 2.5.0
       Resolution: Fixed

> Logged producer config does not always match actual config values
> -----------------------------------------------------------------
>
>                 Key: KAFKA-8928
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8928
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>            Reporter: Chris Pettitt
>            Assignee: huxihx
>            Priority: Major
>             Fix For: 2.5.0
>
>
> I'm working with EOS, and expected to see that switching to EOS sets `acks=all` among other things. Instead, in the logs I see:
>  
> {code:java}
> ProducerConfig values: 
> 	acks = 1
> 	...
> 	enable.idempotence = true
>         ...
>  (org.apache.kafka.clients.producer.ProducerConfig:279)
> {code}
>  
> Clearly this is incorrect. The value is changed in KafkaProducer and the override is logged, but it appears to be filtered at the default setting. It would be best to log all of the correct values in one place. Logging the incorrect values in misleading and at best can waste time when trying to understand Kafka behavior.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)