Skip to content

GH-3164 Support multiple StreamsBuilderFactoryBeanConfigurers#3192

Open
wadhwaroh-lang wants to merge 1 commit intospring-cloud:mainfrom
wadhwaroh-lang:fix/3164-multiple-streams-builder-configurers
Open

GH-3164 Support multiple StreamsBuilderFactoryBeanConfigurers#3192
wadhwaroh-lang wants to merge 1 commit intospring-cloud:mainfrom
wadhwaroh-lang:fix/3164-multiple-streams-builder-configurers

Conversation

@wadhwaroh-lang
Copy link
Copy Markdown
Contributor

@wadhwaroh-lang wadhwaroh-lang commented May 9, 2026

Fixes #3164

This updates the Kafka Streams binder to apply all available StreamsBuilderFactoryBeanConfigurer beans instead of using getIfUnique(), which returns null when more than one configurer is present.

This allows applications to combine user-defined configurers with framework-provided configurers, such as Spring Boot Kafka metrics configuration.

Changes:

  • Collect ordered StreamsBuilderFactoryBeanConfigurer beans from the provider.
  • Apply each configurer to the StreamsBuilderFactoryBean.
  • Add a regression test for multiple configurers.
  • Update the Kafka Streams binder documentation to remove the single-configurer limitation.

Tests:

  • ./mvnw -pl binders/kafka-binder/spring-cloud-stream-binder-kafka-streams -Dtest=KafkaStreamsBinderSupportAutoConfigurationTests test

…rers

Signed-off-by: wadhwaroh-lang <wadhwa.roh@gmail.com>
@wadhwaroh-lang wadhwaroh-lang force-pushed the fix/3164-multiple-streams-builder-configurers branch from ef36e2d to b3ee0c0 Compare May 9, 2026 21:20
@wadhwaroh-lang
Copy link
Copy Markdown
Contributor Author

hi @olegz and team if you can review please. Thanks!

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.

KafkaStreamsFunctionProcessor supports only one StreamsBuilderFactoryBeanConfigurer

1 participant