spring-cloud / spring-cloud/spring-cloud-stream
Inclusion of spring-cloud-stream-binder-kafka.jar in classpath affects existing `@KafkaListener`s
@olegz is already working on this.
Since Oct 9, 2025.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 646
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 8
Description
Describe the issue
Inclusion of spring-cloud-stream-binder-kafka.jar in classpath changes properties of spring.kafka that affects existing @KafkaListeners.
The jar registers KafkaBinderEnvironmentPostProcessor that adds property source kafkaBinderDefaultProperties that in turn changes default properties of spring-kafka.
Is it possible to make introduction of the framework more safe in terms of impact on existing functionality?
Version of the framework 2024.0.1
Expected behavior Inclusion of the framework should not affect other frameworks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.