jeffkbkim commented on a change in pull request #11571:
URL: https://github.com/apache/kafka/pull/11571#discussion_r772792590



##########
File path: 
clients/src/test/java/org/apache/kafka/common/requests/RequestResponseTest.java
##########
@@ -1837,7 +1837,12 @@ private DescribeGroupsResponse 
createDescribeGroupResponse() {
     }
 
     private LeaveGroupRequest createLeaveGroupRequest(short version) {
-        return new LeaveGroupRequest.Builder("group1", singletonList(new 
MemberIdentity().setMemberId("consumer1")))
+        MemberIdentity member = new MemberIdentity()
+                .setMemberId("consumer1");
+        if (version >= 5) {
+            member.setMemberId("reason: test");

Review comment:
       thanks for the catch!




-- 
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


Reply via email to