cmccabe opened a new pull request #10028:
URL: https://github.com/apache/kafka/pull/10028


   Making BrokerState a straightforward Java enum makes it easier to use from 
Java code.
   
   The existing BrokerState class is also awkward to use because it is mutable
   (it holds a volatile variable inside).  While there is also an immutable
   case class, there is no way to go from a numeric type to the case class.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to