sjhajharia commented on code in PR #16049: URL: https://github.com/apache/kafka/pull/16049#discussion_r1624466664
########## clients/src/test/java/org/apache/kafka/clients/consumer/internals/CommitRequestManagerTest.java: ########## @@ -1336,13 +1335,13 @@ public ClientResponse mockOffsetCommitResponse(String topic, long receivedTimeMs, Errors error) { OffsetCommitResponseData responseData = new OffsetCommitResponseData() - .setTopics(Arrays.asList( - new OffsetCommitResponseData.OffsetCommitResponseTopic() - .setName(topic) - .setPartitions(Collections.singletonList( - new OffsetCommitResponseData.OffsetCommitResponsePartition() - .setErrorCode(error.code()) - .setPartitionIndex(partition))))); + .setTopics(Collections.singletonList( + new OffsetCommitResponseData.OffsetCommitResponseTopic() Review Comment: Done! Thanks for pointing out. -- 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