[ 
https://issues.apache.org/jira/browse/KAFKA-8928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16946690#comment-16946690
 ] 

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

huxihx commented on pull request #7466: KAFKA-8928: Logged producer config does 
not always match actual confi…
URL: https://github.com/apache/kafka/pull/7466
 
 
   …g values
   
   https://issues.apache.org/jira/browse/KAFKA-8928
   
   Some logged producer configs(clientId, acks, retries) might not be reflected 
the actual values.
   
   *More detailed description of your change,
   if necessary. The PR title and PR message become
   the squashed commit message, so use a separate
   comment to ping reviewers.*
   
   *Summary of testing strategy (including rationale)
   for the feature or bug fix. Unit and/or integration
   tests are expected for any behaviour change and
   system tests should be considered for larger changes.*
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
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:
us...@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)

Reply via email to