-
Notifications
You must be signed in to change notification settings - Fork 919
Remove incremental updates #425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove incremental updates #425
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some comments.
Do: git grep incremental
and git grep KIP-248
from the top level directory, there are some other ones
:param dict described_configs: For internal use only. | ||
:param KafkaError error: For internal use only. | ||
|
||
When alter_configs(incremental=False) only set_config is permitted, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't remove this sentence, it still applies, just remove the incremental stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other methods have been removed as part of this change so there is no need to retain this message
confluent_kafka/admin/__init__.py
Outdated
@@ -478,8 +433,7 @@ def alter_configs(self, resources, **kwargs): | |||
the provided resources with the new configuration given, | |||
reverting all other configuration for the resource back | |||
to their default values. | |||
Use incremental=True to change the behaviour so that only the | |||
passed configuration is modified, requires broker version with KIP-248 support. | |||
If and when KIP-248 is adopted incremental updates will be possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove, this will not be part of KIP-248.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack
@edenhill fixed the example I missed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Make sure to run integration tests and examples/adminapi.py 's alterconfig modes
ack both integration tests and manual tests against alter_config and alter_config_delta pass |
No description provided.