chia7712 commented on code in PR #24064:
URL: https://github.com/apache/kafka/pull/24064#discussion_r4597777137
##########
clients/src/main/java/org/apache/kafka/common/protocol/Errors.java:
##########
@@ -370,8 +370,8 @@ public enum Errors {
PREFERRED_LEADER_NOT_AVAILABLE(80, "The preferred leader was not
available.",
PreferredLeaderNotAvailableException::new),
GROUP_MAX_SIZE_REACHED(81, "The group has reached its maximum size.",
GroupMaxSizeReachedException::new),
- FENCED_INSTANCE_ID(82, "The broker rejected this static consumer since " +
- "another consumer with the same group.instance.id has registered
with a different member.id.",
+ FENCED_INSTANCE_ID(82, "The broker rejected this static consumer(or static
streams client) since " +
+ "another consumer(or streams client) with the same
group.instance.id has registered with a different member.id.",
Review Comment:
Could we avoid using parentheses? It looks like a list, and it is
error-prone if we add more group types in the future.
--
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]