cmccabe commented on code in PR #19586:
URL: https://github.com/apache/kafka/pull/19586#discussion_r2076268224
##########
metadata/src/main/java/org/apache/kafka/controller/metrics/ControllerMetadataMetrics.java:
##########
@@ -39,10 +42,20 @@
* {@link org.apache.kafka.controller.metrics.QuorumControllerMetrics}, not
here.
*/
public final class ControllerMetadataMetrics implements AutoCloseable {
+ public static final int BROKER_UNREGISTERED_STATE = -1;
Review Comment:
Can you please create an Enum for the broker registration states? Also be
sure to add an interface annotation "stable"
--
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]