Skip to content

Conversation

garyrussell
Copy link
Contributor

Resolves #2538

The KafkaTemplate already has code to lazily fetch the cluster id when first needed. Remove the eager fetch in afterSingletonsInstantiated.

Also, when creating a new KafkaAdmin propagate the operationTimeout from the source admin (in both the template and listener container).

Resolves spring-projects#2538

The `KafkaTemplate` already has code to lazily fetch the cluster id
when first needed. Remove the eager fetch in `afterSingletonsInstantiated`.

Also, when creating a new `KafkaAdmin` propagate the `operationTimeout`
from the source admin (in both the template and listener container).
@artembilan artembilan merged commit cd455f6 into spring-projects:main Jan 10, 2023
@garyrussell garyrussell deleted the GH-2538 branch January 11, 2023 17:52
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.

Get Cluster Id for Observation Lazily
2 participants