CalvinConfluent commented on PR #15175:
URL: https://github.com/apache/kafka/pull/15175#issuecomment-2137870907

   Hi @tinaselenge The DescribeTopicPartitions API does not support ZK 
brokers[[link](https://github.com/apache/kafka/blob/trunk/clients/src/main/resources/common/message/DescribeTopicPartitionsRequest.json#L19)].
 The API should not be returned through ApiVersions API and UNSUPPORTED_VERSION 
error should be returned if a ZK broker receives DescribeTopicPartitions 
request.
   If you discover the problem when using admin client. The expected behavior 
on the ZK brokers is that, the client will first try with 
DescribeTopicPartitions and receives UNSUPPORTED_VERSION. Then it will retry 
with Metadata Request.
   Is the UNSUPPORTED_VERSION error in the response good enough to prevent 
checking authorizedOperations on ZK brokers?
   On the other hand, the DescribeTopicPartitions API always includes 
authorizedOperations all the time on Kraft. Is there a reason why we want to 
avoid returning authorizedOperations?
   


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

Reply via email to