RockteMQ-AI commented on issue #1316: URL: https://github.com/apache/rocketmq-clients/issues/1316#issuecomment-5364740790
**Issue Evaluation** Category: `bug` | Status: **Confirmed** This is a valid deadlock bug. When `Producer.Start()` is called without any pre-declared topics and the Go client's topic route discovery returns an empty result, the initialization routine blocks indefinitely waiting for a route update that never arrives. **Root Cause:** The start sequence waits on a channel/notification for topic route data, but when no topics are pre-declared, the route discovery goroutine has no trigger to fire, creating a permanent deadlock. **Impact:** Application startup hangs — the producer never becomes usable. **Severity:** high The fix should either: - Skip the route-wait step when no topics are pre-declared (lazy initialization) - Or add a timeout to the startup wait --- *Automated evaluation by RockteMQ-AI* -- 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]
