-
Notifications
You must be signed in to change notification settings - Fork 14.8k
KAFKA-19875 Duplicated topic config prevents broker start #20844
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
base: trunk
Are you sure you want to change the base?
Changes from all commits
168a1cd
84f001c
142927e
8d9a7f0
902d071
820fd4a
1f7bddf
8468ca7
4909e84
93c860a
c2831ca
f0f103e
e1c4af3
3427ebb
cca5d09
c25a04b
2632c64
835a119
7e6aa85
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -139,7 +139,9 @@ <h5><a id="upgrade_420_notable" href="#upgrade_420_notable">Notable changes in 4 | |
| <ul> | ||
| <li>Null values are no longer accepted for most LIST-type configurations, except those that explicitly | ||
| allow a null default value or where a null value has a well-defined semantic meaning.</li> | ||
| <li>Duplicate entries within the same list are no longer permitted.</li> | ||
| <li>Most LIST-type configurations no longer accept duplicate entries, except in cases where duplicates | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Also, "Valid Values" for
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I think we can keep the exception-throwing behavior, but we now preprocess the user’s configuration to remove duplicate entries.
|
||
| are explicitly supported. However, if users configure duplicate entries, the internal deduplication | ||
| logic will still handle them.</li> | ||
| <li>Empty lists are no longer allowed, except in configurations where an empty list has a well-defined | ||
| semantic meaning.</li> | ||
| </ul> | ||
|
|
||



Uh oh!
There was an error while loading. Please reload this page.
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 you cover the case have one element is empty string in List like ("a", "", "a") and ("a", "", "c"). It’s possible, for example: bootstrap.servers=localhost:9091,,localhost:9092 (Two consecutive commas; this would result in List.of(localhost:9091, "", "localhost:9092")
And for completeness, should this kind of case be clarified in KIP?