DL1231 commented on code in PR #15211: URL: https://github.com/apache/kafka/pull/15211#discussion_r1468309502
########## group-coordinator/src/main/java/org/apache/kafka/coordinator/group/classic/ClassicGroupState.java: ########## @@ -114,15 +115,20 @@ public enum ClassicGroupState { DEAD.addValidPreviousStates(STABLE, PREPARING_REBALANCE, COMPLETING_REBALANCE, EMPTY, DEAD); } - ClassicGroupState(String name) { + ClassicGroupState(String name, String lowerCaseName) { this.name = name; + this.lowerCaseName = lowerCaseName; } @Override public String toString() { return name; } + public String toLowerCaseString() { Review Comment: Thanks for the suggestion, I added the `toCapitalizedString` to `ConsumerGroup.ConsumerGroupState`. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org