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 2020/01/01 18:50:00 UTC

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

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

guozhangwang commented on pull request #7466: KAFKA-8928: Logged producer config does not always match actual confi…
URL: https://github.com/apache/kafka/pull/7466
 
 
   
 
----------------------------------------------------------------
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


> 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
>
> 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)