FrankYang0529 commented on PR #18632:
URL: https://github.com/apache/kafka/pull/18632#issuecomment-2601202469
@ijuma The only remaining casting is in
`DescribeTopicPartitionsRequestHandler`. It uses
`KRaftMetadataCache#getTopicMetadataForDescribeTopicResponse`. Do you think
that we should either add it to `MetadataCache` or refactoring it to move
related logic to `DescribeTopicPartitionsRequestHandler`? Or we can just keep
it as current implementation? Thanks.
```
val describeTopicPartitionsRequestHandler :
DescribeTopicPartitionsRequestHandler = new
DescribeTopicPartitionsRequestHandler(
metadataCache.asInstanceOf[KRaftMetadataCache], authHelper, config)
```
--
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]