This captures the binder, consumer and producer properties that are specific for several binder implementations.
The binder supports the all Spring Boot properties for Rabbit MQ configuration.
In addition to that, it also supports the following properties:
nodes
). Default empty.
spring.cloud.stream.rabbit.binder.adminAddresses. Default empty.
A comma-separated list of RabbitMQ management plugin URLs - only used when nodes contains more than one entry. Entries in this list must correspond to the corresponding entry in addresses. Default empty.null
.null
.null
.1
(BEST_LEVEL). See java.util.zip.Deflater
.The following properties are available for Rabbit consumers only and
must be prefixed with spring.cloud.stream.rabbit.bindings.<channelName>.consumer
.
AUTO
.false
.group
is also set. Default true
.
maxConcurrency:
Default 1
.
prefetch:
Prefetch count. Default 1
.destination
and queues. Default "".true
.[STANDARD_REQUEST_HEADERS,'*']
.[STANDARD_REQUEST_HEADERS,'*']
false
.1
.The following properties are available for Rabbit producers only and
must be prefixed with spring.cloud.stream.rabbit.bindings.<channelName>.producer
.
false
.false
.100
.10000
.5000
.false
.PERSISTENT
.destination
exchange. Default "".[STANDARD_REQUEST_HEADERS,'*']
.[STANDARD_REQUEST_HEADERS,'*']
localhost
.host1,host2:port2
. This configuration sets the default port when no port is configured in the broker list. Default 9092
.localhost
.host1,host2:port2
. This configuration sets the default port when no port is configured in the node list. Default 2181
.0
. Default 10000
.0
. Default 0
. Mutually exclusive with offsetUpdateTimeWindow
.The following properties are available for Kafka consumers only and
must be prefixed with spring.cloud.stream.kafka.bindings.<channelName>.consumer
.
Acknowledgment
header will be available in the message headers for late acknowledgment. Default true
.raw
, will disable header parsing on input. Useful when inbound data is coming from outside Spring Cloud Stream applications. Default embeddedHeaders
.startOffset
. Default false
.resetOffsets
is true
. Allowed values: earliest
,latest
. Defaults to null (equivalent to earliest).1
.The following properties are available for Kafka producers only and
must be prefixed with spring.cloud.stream.kafka.bindings.<channelName>.producer
.
16384
.false
.0
.raw
, disable header propagation on output. Useful when producing data for non-Spring Cloud Stream applications. Default embeddedHeaders
.