Commit Graph

17 Commits

Author SHA1 Message Date
Gary Russell
8a8a440c73 GH-2307: Fix Problems with Rabbit Declarables
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2307

- when creating `Declarables` beans for redeclaration after a connetion failure
  2 DLX/DLQ bindings used the same bean name so the second one was never recovered/
- removing consumer `Declarable` beans from the `autoDeclareContext` was incomplete
- removing producer `Declarable` beans was not performed at all

- fix bean names; fix cleanup; add tests for all config scenarios
- check cleanup in all `RabbitBinderTests`

**cherry-pick to 3.2.x when the mono repo is established**
Resolves #2309
2022-03-25 11:21:55 +01:00
Oleg Zhurakousky
bf8b963488 Make s-c-function deployer optioinal dependency in rabbit binder 2022-03-21 18:09:14 +01:00
Soby Chacko
840933d164 JUnit 5 migration for Kafka Streams binder tests 2022-03-15 18:45:05 -04:00
Gary Russell
6d8be51437 GH-2293: MessageConverter Bean Name
Add test to consume full `ReceiverRecord`.

Resolves #2295
2022-03-15 13:09:45 +01:00
Gary Russell
9ccf9ce48b GH-2293: Cancel Subscription on Stop 2022-03-12 13:16:40 -05:00
Soby Chacko
9b8ebe235e JUnit 5 migration for more Kafka binder tests 2022-03-11 16:50:54 -05:00
Soby Chacko
e51ade49db Kafka binder tests migration to JUnit 5 2022-03-11 15:07:37 -05:00
Soby Chacko
1c4f5e24dc Initial JUnit 5 migration for Kafka binder 2022-03-11 13:38:18 -05:00
Gary Russell
f3ccc7b72d GH-2293: Initial Commit Reactor-Kafka Binder
Note that it requires the message channel to be a `FluxMessageChannel`.

It currently only supports `Consumer<ReceiverRecord<?, ?>>` (no conversion).

The function binding should use the message channel directly instead of bridging
the direct channel to a reactive channel.

Producer Side PoC

Binder specific changes in ReactorKafkaBinder

Binder configuration

More changes to the reactive binder

Move KafkaBinderEnvironmentPostProcessor to the core module

Change binder key in spring.binders

Adding an e2e IT test for the reactive binder

Add lifecycle to integration adapters.

Remove unnecessary doStop().

Fix import order.
2022-03-10 17:22:20 -05:00
Soby Chacko
2f6de9263e Removed ununsed old release scripts 2022-03-09 13:36:32 -05:00
Soby Chacko
24035bad16 More README cleanup 2022-03-08 17:29:36 -05:00
Soby Chacko
3d85739251 README cleanup 2022-03-08 17:24:23 -05:00
Soby Chacko
5ddf93bd6d Version updates
Spring kafka - 3.0.0-SNAPSHOT
Kafka client - 3.1.0

Remove the temporarry changes to micrometer dependency version
2022-03-08 10:48:46 -05:00
Soby Chacko
21999e2660 Build cleanup 2022-03-07 18:17:41 -05:00
Soby Chacko
9fb42b65d9 Changing the micrometer version in Kafka binder
Temporarily changing this to match with Spring-Kafka's.
2022-03-07 11:34:12 -05:00
Soby Chacko
e1232ae731 Restructuring the repository 2022-02-23 19:42:29 -05:00
Soby Chacko
585f77e589 Relocate both Kafka and Rabbit binders within core 2022-02-23 15:41:13 -05:00