I was looking for a circuit breaker configuration or a circuit breaker extension to detect failures in my siddhi application, but I was not able to find anything. Maybe I should implement my own custom circuit breaker pattern?
By default, Siddhi publishes in a non-blocking way. Hence, the threads within Siddhi will not be blocked unless you configure it to back-pressure using Siddhi Error handling. If a connection fails, Siddhi will automatically retry in a back-off retry mechanism.
You can use the Siddhi Error handling to have a handle on the the errors manually. With error handling at Sink, you can handle the error cases using 3 approaches.
I also believe, it will be more convenient for the users, if this support is provided natively. Hence, I created an issue to raise a feature request.