RivenSun2 commented on PR #12041:
URL: https://github.com/apache/kafka/pull/12041#issuecomment-1099797049

   In other words, for a configuration (including `unknownConfig`), if neither 
Kafka nor the user retrieves this configuration when the KafkaClient completes 
initialization, the log prompt will only be printed.
   
   Kafka is responsible for retrieving all `knownConfigs`, just like the 
`transactional.id` configuration, it will be used whether the user has passed 
in `transactional.id` or not.
   
   ```
               String transactionalId = 
config.getString(ProducerConfig.TRANSACTIONAL_ID_CONFIG);
   
               this.clientId = 
config.getString(ProducerConfig.CLIENT_ID_CONFIG);
   ```
   


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

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to