chia7712 commented on code in PR #20325: URL: https://github.com/apache/kafka/pull/20325#discussion_r2379550411
########## core/src/main/scala/kafka/server/AutoTopicCreationManager.scala: ########## @@ -264,4 +349,101 @@ class DefaultAutoTopicCreationManager( (creatableTopics, uncreatableTopics) } + + private def sendCreateTopicRequestWithErrorCaching( + creatableTopics: Map[String, CreatableTopic], + requestContext: Option[RequestContext], Review Comment: Excuse me, it seems there is no case where `none` is passed to `requestContext`. Is it intended to support more use case in the future? If not, removing the `Option` could simplify the code introduced in #20569 -- 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