Skip to content

custom KafkaBinderHealth indicator not working with multi-binders #3042

@as428y

Description

@as428y

During development, we found that there is no way to create a custom KafkaBinderHealth indicator when there are Multiple Binder.
Following these examples, actually failed to have an instance per each binder

https://docs.spring.io/spring-cloud-stream/reference/kafka/kafka-binder/custom-health-ind.html#custom-kafka-binder-health-indicator-example

Support advised to open the defect, as it looks like it does not work

spring.cloud.stream.binders.kafka1.environment.spring.cloud.stream.kafka.binder.brokers: localhost: 9092
spring.cloud.stream.binders.kafka2.environment.spring.cloud.stream.kafka.binder.brokers: localhost: 9091

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions