lh0156 commented on PR #22945: URL: https://github.com/apache/kafka/pull/22945#issuecomment-5157608877
Implemented the AdminClient follow-up in 101e8f0be5. CreateTopicsResult.topicId(topic) now completes with the existing topic ID when the controller returns TOPIC_ALREADY_EXISTS, while values() and all() retain their existing TopicExistsException behavior. Successful topic creation and other error paths continue to complete the topic-ID future consistently. Added a focused KafkaAdminClientTest covering both behaviors. Verification after rebasing onto the latest trunk: - :clients:test --tests org.apache.kafka.clients.admin.KafkaAdminClientTest (289 tests passed) - :metadata:test --tests org.apache.kafka.controller.ReplicationControlManagerTest (75 tests passed) - Checkstyle and SpotBugs completed successfully for the affected modules. -- 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]
