chia7712 commented on code in PR #18034:
URL: https://github.com/apache/kafka/pull/18034#discussion_r1871218090
##########
clients/src/main/java/org/apache/kafka/clients/admin/MemberDescription.java:
##########
@@ -131,13 +140,30 @@ public Optional<MemberAssignment> targetAssignment() {
return targetAssignment;
}
+ /**
+ * The epoch of the group member.
+ */
+ public Optional<Integer> memberEpoch() {
+ return memberEpoch;
+ }
+
+ /**
+ * The flag indicating whether a member is classic.
+ */
+ public Optional<Boolean> isClassic() {
Review Comment:
> How about calling it nonUpgraded? We could set it to true when the group
is a consumer group and the member uses classic protocol.
How about using "upgraded"? it is true only if the group is a consumer group
and the member uses the consumer protocol.
--
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]