Skip to content

Conversation

@garyrussell
Copy link
Contributor

Resolves #2505

When observation is enabled, we use the context's KafkaAdmin, if present, to determine the cluster id.

The context's admin may be configured with different bootstrap servers than the producer/consumer (e.g. in Spring Cloud Stream).

When looking up the cluster id for observation, use the appropriate bootstrap servers for the component.

Resolves spring-projects#2505

When observation is enabled, we use the context's `KafkaAdmin`, if present,
to determine the cluster id.

The context's admin may be configured with different bootstrap servers than
the producer/consumer (e.g. in Spring Cloud Stream).

When looking up the cluster id for observation, use the appropriate bootstrap
servers for the component.
@artembilan artembilan merged commit d34394e into spring-projects:main Dec 21, 2022
@garyrussell garyrussell deleted the GH-2505 branch December 21, 2022 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cluster Id: Use Producer/Consumer Bootstrap Servers if Different to the Context's KafkaAdmin Servers

2 participants