-
Notifications
You must be signed in to change notification settings - Fork 14.9k
KAFKA-19984 Throttle-related dynamic configurations should not have the isReadOnly flag
#21131
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?
Conversation
# Conflicts: # core/src/main/scala/kafka/server/DynamicBrokerConfig.scala
isReadOnly flag [WIP]isReadOnly flag
|
Could you please resolve the conflicts? |
DL1231
left a 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.
Overall LGTM, a small comment left.
server-common/src/main/java/org/apache/kafka/server/config/QuotaConfig.java
Outdated
Show resolved
Hide resolved
|
@m1a2st please fix the conflicts |
# Conflicts: # core/src/main/scala/kafka/server/DynamicBrokerConfig.scala
|
@m1a2st please fix the conflicts 😢 |
# Conflicts: # server/src/test/java/org/apache/kafka/server/BootstrapControllersIntegrationTest.java
| } | ||
|
|
||
| public static Set<String> brokerQuotaConfigsNames() { | ||
| return Set.of( |
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.
How about using brokerQuotaConfigs?
public static Set<String> brokerQuotaConfigsNames() {
return Set.copyOf(brokerQuotaConfigs().names());
}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.
Thanks, addressed it.
The following configs are weird because those values are definitely not
READONLY
Add them into the
DynamicBrokerConfigto ensure when we query it's notREADONLY