showuon commented on a change in pull request #11026: URL: https://github.com/apache/kafka/pull/11026#discussion_r670917051
########## File path: clients/src/main/java/org/apache/kafka/clients/admin/internals/ListConsumerGroupOffsetsHandler.java ########## @@ -82,14 +93,17 @@ public String apiName() { Set<CoordinatorKey> groupIds, AbstractResponse abstractResponse ) { + validateKeys(groupIds); + final OffsetFetchResponse response = (OffsetFetchResponse) abstractResponse; - Map<CoordinatorKey, Map<TopicPartition, OffsetAndMetadata>> completed = new HashMap<>(); - Map<CoordinatorKey, Throwable> failed = new HashMap<>(); - List<CoordinatorKey> unmapped = new ArrayList<>(); + final Map<CoordinatorKey, Map<TopicPartition, OffsetAndMetadata>> completed = new HashMap<>(); + final Map<CoordinatorKey, Throwable> failed = new HashMap<>(); + final Set<CoordinatorKey> groupsToUnmap = new HashSet<>(); + final Set<CoordinatorKey> groupsToRetry = new HashSet<>(); Errors responseError = response.groupLevelError(groupId.idValue); Review comment: @dajac , I also confirmed you are right. No need to sorry, I also missed that. I removed the `handlePartitionError`, and just return ApiResult just like other PRs did. Thank you. :) -- 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