You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/06/07 01:29:09 UTC

[GitHub] [kafka] wlaforest opened a new pull request #8824: Kafka 5514: KafkaConsumer ignores default values in Properties object because of incorrect use of Properties object.

wlaforest opened a new pull request #8824:
URL: https://github.com/apache/kafka/pull/8824


   KafkaConsumer (and some other classes like KafkaProducer) does not respect defaults in Properties objects.  This is because a process translates the Properties to a Map in the Utils class which uses the underlying Hastable methods rather than the Propoerty methods.  This pull request corrects that to use the appropriate Properties methods a well as being backwards compatible for code that has been using the underlying Hashtable methods to contruct properties (there are differences due to the fact that Properties key and values must be Strings.
   
   Performed full suite of unit test and integration tests.  Added unit tests for fix.
   
   No documntation changes required as the behavior is the same.  The only slight difference is in the message for the ConfigException.


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