muralibasani commented on code in PR #23581:
URL: https://github.com/apache/kafka/pull/23581#discussion_r4097097897
##########
server/src/main/java/org/apache/kafka/server/ProcessRole.java:
##########
@@ -27,6 +29,15 @@ public enum ProcessRole {
this.roleName = roleName;
}
+ public static ProcessRole fromString(String role) {
Review Comment:
As this is moved from AbstractConfig to ProcessRole, a unit test would be
better ?
--
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]