-
Notifications
You must be signed in to change notification settings - Fork 15.5k
KAFKA-19851; Delete dynamic configs that were removed by Kafka #21053
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
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
357704d
Delete dynamic config that were removed by Kafka
0xffff-zhiyan c3da308
fix
0xffff-zhiyan fa4dac9
fix
0xffff-zhiyan c70f511
fix
0xffff-zhiyan 3767e7a
fix
0xffff-zhiyan 12b3d99
filter existingConfigsSnapshot
0xffff-zhiyan f734b75
fix
0xffff-zhiyan 1ce628f
fix
0xffff-zhiyan d2b7916
fix
0xffff-zhiyan cba7df5
fix
0xffff-zhiyan 56a08ca
fix
0xffff-zhiyan 097c9ba
fix
0xffff-zhiyan 12b4193
fix
0xffff-zhiyan c3a1f16
fix
0xffff-zhiyan 1744a30
fix format
0xffff-zhiyan 4584c49
rename a test
0xffff-zhiyan d680dd5
fix
0xffff-zhiyan 4d870c0
fix
0xffff-zhiyan ed2b8a6
fix
0xffff-zhiyan 1ad2841
fix
0xffff-zhiyan d33536d
fix
0xffff-zhiyan c3df5b1
fix
0xffff-zhiyan 4f10cc1
fix
0xffff-zhiyan aabc28d
fix
0xffff-zhiyan b5bc16d
fix
0xffff-zhiyan c3b7998
fix format
0xffff-zhiyan 3d78470
fix format
0xffff-zhiyan fd9a5b3
fix format
0xffff-zhiyan 1031a62
Merge remote-tracking branch 'upstream/trunk' into KAFKA-19851
0xffff-zhiyan bdf7975
move DefaultSupportedConfigChecker to Java
0xffff-zhiyan 162ed38
fix
0xffff-zhiyan 4c29f85
fix: add logs
0xffff-zhiyan 77fb3a6
fix: added supportedConfigChecker to MetadataBatchLoader
0xffff-zhiyan 280c856
fix: added test cases for handleLoadSnapshot and MetadataBatchLoader
0xffff-zhiyan 0eda9db
fix test
0xffff-zhiyan ad1dc2e
fix BROKER type configs whitelist
0xffff-zhiyan a6dc4da
fix DefaultSupportedConfigChecker using Predicate<>
0xffff-zhiyan 24ef0b3
fix
0xffff-zhiyan 6c972f4
add test for MetadataBatchLoader
0xffff-zhiyan 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
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
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
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.
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.
The returned value is used in production. Should we set supportedConfigChecker to be the production one?
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
emptyDelta()returns aCoordinatorMetadataDeltawhich only exposes topic-related methods (createdTopicIds, changedTopicIds, deletedTopicIds). The underlyingMetadataDeltais not exposed, and noConfigRecordreplay happens through this path, so theSupportedConfigCheckerwould never be invoked. I think we don't need to setsupportedConfigCheckerhere, WDYT?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 add a comment on why supportedConfigChecker is not set?
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.
added