junrao commented on code in PR #23665:
URL: https://github.com/apache/kafka/pull/23665#discussion_r4556802230
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorService.java:
##########
@@ -1749,7 +1749,7 @@ private CompletableFuture<Map<String, ApiError>>
deleteStreamsTopologyDescriptio
* that should still proceed to tombstoning. Version-agnostic: the raw
{@link ApiError}
* is added as-is; any per-version translation of new error codes (e.g.
downgrading
* {@code GROUP_DELETION_FAILED} for {@code DeleteGroups} v<3) happens
at the
- * {@code KafkaApis} layer where {@code request.context.apiVersion()} is
in scope and
+ * {@code KafkaApis} layer where {@code
request.context.effectiveApiVersion()} is in scope and
Review Comment:
request.context.effectiveApiVersion() is outdated since we use
deleteGroupsRequest.version in KafkaApis. We could just change this to the
following.
`{@code KafkaApis} layer where the request version is in scope and`
--
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]