Skip to content

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

Merged
merged 2 commits into from
Jul 19, 2018
Merged

Remove incremental updates #425

merged 2 commits into from
Jul 19, 2018

Conversation

rnpridgeon
Copy link
Contributor

No description provided.

@rnpridgeon rnpridgeon requested a review from edenhill July 18, 2018 17:08
Copy link
Contributor

@edenhill edenhill left a 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,
Copy link
Contributor

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.

Copy link
Contributor Author

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

@@ -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.
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack

@rnpridgeon
Copy link
Contributor Author

@edenhill fixed the example I missed

Copy link
Contributor

@edenhill edenhill left a 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

@rnpridgeon
Copy link
Contributor Author

ack both integration tests and manual tests against alter_config and alter_config_delta pass

@rnpridgeon rnpridgeon merged commit 4325212 into confluentinc:master Jul 19, 2018
@rnpridgeon rnpridgeon deleted the remove_incremental branch July 19, 2018 13:38
rnpridgeon pushed a commit that referenced this pull request Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy