-
Notifications
You must be signed in to change notification settings - Fork 14.9k
KAFKA-19931 Align broker and controller behavior for the Admin.incrementalAlterConfigs API #21005
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
Open
m1a2st
wants to merge
33
commits into
apache:trunk
Choose a base branch
from
m1a2st:KAFKA-19931
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
1fcfe35
completed the feature
m1a2st cc33873
updated the test
m1a2st f5f78e7
fix test
m1a2st 59d3be2
Merge branch 'trunk' into KAFKA-19931
m1a2st c8d913f
temp version
m1a2st f8d01df
temp version
m1a2st a165eb5
test in the kafka CI
m1a2st 48184c2
Merge branch 'trunk' into KAFKA-19931
m1a2st 1ff2a4c
addressed by comments
m1a2st da21c8b
fix the fail test
m1a2st fdbb81c
add new test for ConfigAdminManagerTest
m1a2st a0198d9
Merge branch 'trunk' into KAFKA-19931
m1a2st d6ae031
addressed by comments
m1a2st 138e8e8
update the addConfigChangesOrHandleDuplicate logic
m1a2st 72e787b
update the related logic
m1a2st bfd3860
revert the error logic
m1a2st 2a4c9ea
remove unused exception throwing
m1a2st d388063
Merge branch 'trunk' into KAFKA-19931
m1a2st 6df68ba
resolve conflict
m1a2st bb8c33a
add new validator
m1a2st 16ca216
fix the fail test
m1a2st ca12d22
temp
m1a2st ac4b124
temp patch
m1a2st b07102e
revert unused change
m1a2st 500b7ae
Merge branch 'trunk' into KAFKA-19931
m1a2st 8d1cf15
check the resource operation type
m1a2st d896bfb
check null value
m1a2st a690de7
check delete opType
m1a2st e7251e2
Merge branch 'trunk' into KAFKA-19931
m1a2st 374c301
Merge branch 'trunk' into KAFKA-19931
m1a2st 59264ff
update the logic
m1a2st a350c1c
Merge branch 'trunk' into KAFKA-19931
m1a2st 63d8513
resolve conflict
m1a2st File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Could we use
configChangesinstead?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.
I meant that the
configChangescollection could be used to check the duplicates, right?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 old logic worked in three steps:
Given this behavior, I think we cannot rely solely on a map to implement this logic.