-
Notifications
You must be signed in to change notification settings - Fork 630
Remove Kafka binder dependence on KafkaAutoConfiguration #2362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Kafka binder dependence on KafkaAutoConfiguration #2362
Conversation
...va/org/springframework/cloud/stream/binder/reactorkafka/ReactorKafkaBinderConfiguration.java
Show resolved
Hide resolved
...org/springframework/cloud/stream/binder/reactorkafka/ReactorKafkaBinderIntegrationTests.java
Show resolved
Hide resolved
...rc/test/java/org/springframework/cloud/stream/binder/kafka/KafkaBinderConfigurationTest.java
Show resolved
Hide resolved
...t/java/org/springframework/cloud/stream/binder/kafka/bootstrap/KafkaBinderBootstrapTest.java
Show resolved
Hide resolved
...org/springframework/cloud/stream/binder/reactorkafka/ReactorKafkaBinderIntegrationTests.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And if we go this way, please, consider to make similar changes to the KinesisBinderConfiguration.
See its @Import({ ContextCredentialsAutoConfiguration.class, ContextRegionProviderAutoConfiguration.class }) for the same reason as we have @Import({ KafkaAutoConfiguration.class }) - multi-binder environment.
...main/java/org/springframework/cloud/stream/binder/kafka/config/KafkaBinderConfiguration.java
Show resolved
Hide resolved
I must have missed this one @artembilan as I did look in the Kinesis binder module. I will amend this PR to include it as well. |
I created spring-cloud/spring-cloud-stream-binder-aws-kinesis#183 to extend this to the Kinesis binder. |
|
PR merged upstream. |
See here for details.
Fixes #2349