ahuang98 commented on code in PR #16848:
URL: https://github.com/apache/kafka/pull/16848#discussion_r1722343316
##########
metadata/src/main/java/org/apache/kafka/controller/ClusterControlManager.java:
##########
@@ -506,7 +505,7 @@ BrokerFeature processRegistrationFeature(
}
// A feature is not found in the finalizedFeature map if it is unknown
to the controller or set to 0 (feature not enabled).
// Only log if the feature name is not known by the controller.
- if (!Features.PRODUCTION_FEATURE_NAMES.contains(feature.name()))
+ if (!finalizedFeatures.featureNames().contains(feature.name()))
Review Comment:
right now, brokers won't send features that are on version 0 too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]