Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Broker] Handle all exceptions from
topic.addProducer
(apache#6881)
Fixes apache#6872 Fixes apache#6416 If a producer tries to create a producer to a topic that is currently unloading, we can get a `RuntimeException` from `BrokerService.checkTopicNsOwnership` which is bubbled up through `topic.addProducer`. By only handling a `BrokerServiceException` this results in a future that never completes and results in producers not being able to be created if this topic is scheduled back to this broker.
- Loading branch information