Skip to content

Conversation

ferblaca
Copy link
Contributor

@ferblaca ferblaca commented Jul 1, 2025

Related to fix in #3114

…ti-binder scenario

This change adds KafkaMultiBinderCustomConfigurationTests to verify that user configuration
classes specified via spring.main.sources are properly loaded before binder configuration classes.
This ensures that @ConditionalOnMissingBean annotations in the binder configurations correctly
detect user-provided beans.

The test confirms that when using KafkaBinderConfiguration with @ConditionalOnMissingBean(KafkaBinderMetrics.class),
a custom KafkaBinderMetrics bean configured via spring.main.sources is correctly detected and used
instead of the default implementation.

Related to fix in spring-cloudgh-3114

Signed-off-by: ferblaca <fernandobc@ext.inditex.com>
@olegz olegz closed this in b9a78ba Jul 2, 2025
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.

1 participant