RaidenE1 commented on code in PR #20325: URL: https://github.com/apache/kafka/pull/20325#discussion_r2271333309
########## core/src/main/scala/kafka/server/KafkaApis.scala: ########## @@ -2889,6 +2889,24 @@ class KafkaApis(val requestChannel: RequestChannel, } } else { autoTopicCreationManager.createStreamsInternalTopics(topicsToCreate, requestContext); + + // Check for cached topic creation errors only if there's already a MISSING_INTERNAL_TOPICS status + val hasMissingInternalTopicsStatus = responseData.status() != null && + responseData.status().stream().anyMatch(s => s.statusCode() == StreamsGroupHeartbeatResponse.Status.MISSING_INTERNAL_TOPICS.code()) Review Comment: Because this ticket is about when source topic is missing, we check the cache, if we found it failed to be created, then we inform user. If it's not missing then there is no error? -- 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