xiangfu0 opened a new pull request, #17767:
URL: https://github.com/apache/pinot/pull/17767

   ## Summary
   Handle `TopicExistsException` in `KafkaServerStartable.createTopic` by 
returning silently when the topic already exists, matching the behavior of 
kafka20 clients.
   
   ## Problem
   Quickstart fails with `RuntimeException: Failed to create topic: 
flights-realtime` when the topic already exists (e.g., from a previous run).
   
   ## Solution
   Catch `ExecutionException` with cause `TopicExistsException` and return 
silently instead of rethrowing, consistent with kafka20 behavior.
   
   ## Testing
   - `KafkaServerStartableTest` passes
   
   Made with [Cursor](https://cursor.com)


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to