spring-cloud / spring-cloud/spring-cloud-stream

custom KafkaBinderHealth indicator not working with multi-binders

Open
#3,042 0 comments 0 reactions 1 assignee View on GitHub

@sobychacko is already working on this.

Since Nov 21, 2024.

Dominant language
Java
Stars
1.1k
Forks
646
Avg merge
2d 3h
Merged PRs (30d)
8

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.