Subscription concurrency to speed up data consumption
In solace I pre-configured a Non-exclusive queue and now trying to consume data in spring cloud steam app , by providing spring.cloud.stream.bindings.fn-name.consumer.concurrency=4 , In logs i can see it's trying to start four subscriber but all four are getting timed out. If we make this number as 1 or remove this property then it's able to connect and consume data. The reason for starting multiple consumer is to consume that queue data in parallel , so that it would be fast consumption.
On same time if we allow spring cloud to create new queue and bind with four consumer it's able to bind.
Here is my application.yaml
#Note if we uncomment below and try with same above settings then it's not working , but if we #change concurrency to 1 or just remove it and uncomment below part then it's working. #solace: #bindings: #myConsumer-in-0: #consumer: #provisionSubscriptionsToDurableQueue: false #provisionDurableQueue: false #queueNamePrefix: "" #useFamiliarityInQueueName: false #useDestinationEncodingInQueueName: false #useGroupNameInQueueName: false #concurrency: 4 , **this value is not being consider**
if i refer Consumer Concurrency point number 3 then it seems concurrency >1 will work only for push based subscription not pull based. and for push based means end point need to be register under solace console to push the message.
Need your help to confirm the behavior or if some thing i am doing wrong.