GH-2691: Kafka Reactive Binder Support Multiplex (#2698)

* GH-2691: Kafka Reactive Binder Support Multiplex

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2691

* Add docs.
This commit is contained in:
Gary Russell
2023-04-05 15:50:07 -04:00
committed by GitHub
parent 92279db2a1
commit f48523f774
3 changed files with 23 additions and 8 deletions

View File

@@ -172,3 +172,8 @@ spring.cloud.stream.bindings.lowercase-in-0.consumer.concurrency=3
```
That will create three dedicated `KafkaReceiver` objects that generate three separate `Flux` implementations and then stream them to the handler method.
=== Multiplex
Starting with version 4.0.3, the common consumer property `multiplex` is now supported by the reactive binder, where a single binding can consume from multiple topics.
When `false` (default), a separate binding is created for each topic specified in a comma-delimited list in the common `destination` property.