I'm using spring-cloud-stream : 2.1.1.RELEASE with Rabbit binder.
The queue names generated for my binding always have a -0 extension like :
test-data-direct.group01-0
test-data-direct is the exchange name and group01 is the group name.
How can I avoid the -0 extension ?
spring.cloud.stream.rabbit.bindings.output.producer.partitioned : false
didn't help
The queues creation is triggered/influenced by the consumer properties. Meanwhile your ...partitioned : false
is set on producer . You probably have something like
input:
consumer:
instanceCount: 3
instanceIndex: 0
partitioned: true
. . . which would explain your queue names.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.