brenden20 commented on code in PR #16291:
URL: https://github.com/apache/kafka/pull/16291#discussion_r1635494801
##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/CommitRequestManager.java:
##########
@@ -1278,5 +1275,12 @@ static class MemberInfo {
this.memberId = Optional.empty();
this.memberEpoch = Optional.empty();
}
+
+ @Override
+ public String toString() {
+ return "MemberInfo{" + "memberId=" + memberId.orElse("undefined") +
+ ", memberEpoch=" + (memberEpoch.isPresent() ? memberEpoch
: "undefined") + "}";
Review Comment:
I implemented this suggestion, I will note that when testing the method,
there is no difference in how the string is printed whether using
```memberEpoch.get()``` or not
--
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]