You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by johnma14 <gi...@git.apache.org> on 2017/05/07 08:33:43 UTC
[GitHub] kafka pull request #2990: KAFKA-5096: Log invalid user configs and use defau...
GitHub user johnma14 opened a pull request:
https://github.com/apache/kafka/pull/2990
KAFKA-5096: Log invalid user configs and use defaults
Kafka Streams does not allow users to modify some consumer configurations.
Currently, it does not allow modifying the value of 'enable.auto.commit'.
If the user modifies this property, currently an exception is thrown.
The following changes were made in this patch:
- Defined a new array 'NON_CONFIGURABLE_CONSUMER_CONFIGS' to hold the names
of the configuration parameters that is not allowed to be modified
- Defined a new method 'checkIfUnexpectedUserSpecifiedConsumerConfig' to
check if user overwrote the values of any of the non configurable configuration
parameters. If so, then log a warning message and reset the default values
- Updated the javadoc to include the configuration parameters that cannot be
modified by users.
- Updated the corresponding tests in StreamsConfigTest.java to reflect the changes
made in StreamsConfig.java
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/johnma14/kafka bug/kafka-5096
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2990.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2990
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] kafka pull request #2990: KAFKA-5096: Log invalid user configs and use defau...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/kafka/pull/2990
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---