I'm going to implement a Circuit breaker pattern for messages. Basic requirement is that if microservice cannot publish messages to publishing topic it should stop accepting messages from other Kafka topics. When the publishing topics become available microservice should start accepting messages from other Kafka topics.
Is there a way I can achieve this in Spring boot Kafka Streams?
I was able to achieve this by using
BindingsEndpoint
.