TaiJuWu commented on code in PR #18447:
URL: https://github.com/apache/kafka/pull/18447#discussion_r1908074550
##########
core/src/main/scala/kafka/server/KafkaApis.scala:
##########
@@ -233,7 +232,7 @@ class KafkaApis(val requestChannel: RequestChannel,
case ApiKeys.CREATE_PARTITIONS => maybeForwardToController(request,
handleCreatePartitionsRequest)
// Create, renew and expire DelegationTokens must first validate that
the connection
// itself is not authenticated with a delegation token before
maybeForwardToController.
- case ApiKeys.CREATE_DELEGATION_TOKEN =>
handleCreateTokenRequest(request)
+ case ApiKeys.CREATE_DELEGATION_TOKEN =>
maybeForwardToController(request, null)
Review Comment:
It could be done like
https://github.com/apache/kafka/pull/18433/commits/0b201e0817b64b0bdd8da06aebb0e73da1cd2399
since we need to keep readability.
This is out-of-date comment.
--
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]