-
Notifications
You must be signed in to change notification settings - Fork 14.9k
KAFKA-20110 Fix generated doc and Javadoc for dynamic configs #21384
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
2422e85
19e320e
f3e0032
36830ea
57e12f6
01480f4
f69c1d5
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 |
|---|---|---|
|
|
@@ -79,8 +79,8 @@ public class DynamicBrokerConfig { | |
| DynamicReplicationConfig.RECONFIGURABLE_CONFIGS, | ||
| List.of(AbstractConfig.CONFIG_PROVIDERS_CONFIG), | ||
| GroupCoordinatorConfig.RECONFIGURABLE_CONFIGS, | ||
| ShareCoordinatorConfig.RECONFIGURABLE_CONFIGS, | ||
| QuotaConfig.BROKER_QUOTA_CONFIGS) | ||
| DynamicQuotaConfig.RECONFIGURABLE_CONFIGS, | ||
| ShareCoordinatorConfig.RECONFIGURABLE_CONFIGS) | ||
| .flatMap(Collection::stream) | ||
| .collect(Collectors.toUnmodifiableSet()); | ||
|
|
||
|
|
@@ -279,4 +279,8 @@ public static class DynamicReplicationConfig { | |
| public static final Set<String> RECONFIGURABLE_CONFIGS = Set.of( | ||
| ReplicationConfigs.FOLLOWER_FETCH_LAST_TIERED_OFFSET_ENABLE_CONFIG); | ||
| } | ||
|
|
||
| public static class DynamicQuotaConfig { | ||
|
Member
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. Is it a kind of decoration?
Contributor
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. Yeah, I think it make code more readable at least for me. Like I didn't want to re-write all these properties into public static final Set<String> ALL_DYNAMIC_CONFIGS = Stream.of(
DYNAMIC_SECURITY_CONFIGS,
LogCleaner.RECONFIGURABLE_CONFIGS,
DynamicLogConfig.RECONFIGURABLE_CONFIGS,
DynamicThreadPool.RECONFIGURABLE_CONFIGS,
List.of(MetricConfigs.METRIC_REPORTER_CLASSES_CONFIG),
DynamicListenerConfig.RECONFIGURABLE_CONFIGS,
SocketServer.RECONFIGURABLE_CONFIGS,
DYNAMIC_PRODUCER_STATE_MANAGER_CONFIGS,
DynamicRemoteLogConfig.RECONFIGURABLE_CONFIGS,
DynamicReplicationConfig.RECONFIGURABLE_CONFIGS,
List.of(AbstractConfig.CONFIG_PROVIDERS_CONFIG),
GroupCoordinatorConfig.RECONFIGURABLE_CONFIGS,
DynamicQuotaConfig.RECONFIGURABLE_CONFIGS,
ShareCoordinatorConfig.RECONFIGURABLE_CONFIGS)
.flatMap(Collection::stream)
.collect(Collectors.toUnmodifiableSet());because you can see that some of them using that pattern |
||
| public static final Set<String> RECONFIGURABLE_CONFIGS = QuotaConfig.BROKER_QUOTA_CONFIGS; | ||
| } | ||
| } | ||
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.
would you mind adding comment?
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.
Yeah that would be good idea, I have added comment there.