Closed Akshay-Thakare closed 2 years ago
Hi @Akshay-Thakare,
It's a bit tricky, but you can actually configure both of these items today.
solace.java.apiProperties.sub_ack_window_size
Note that MAX_DELIVERED_UNACKNOWLEDGED_MSGS_PER_FLOW should always be >= FLOW_WINDOW_SIZE or the FLOW_WINDOW_SIZE won't be taking any affect.
Hope that helps!
Hi @Mrc0113 ,
Thank you for your reply.
If I understand correctly since MAX_DELIVERED_UNACKNOWLEDGED_MSGS_PER_FLOW
should always be >= FLOW_WINDOW_SIZE
so it is not necessary to set the same i.e. the defaults should work fine as long as FLOW_WINDOW_SIZE
= 1 on client side. Is this correct?
To set solace.java.apiProperties.sub_ack_window_size
is the following code snippet correct?
System.setProperty("spring.cloud.stream.binders.solace.environment.solace.java.apiProperties.sub_ack_window_size", "1");
Hi @Akshay-Thakare,
Sorry for the delayed response, did it work for you?
Hi,
It would be really helpful if we could configure prefetch size for consumers, similar to rabbitMQ binder to better control message flow. I understand this should be supported by solace as per this article https://solace.com/blog/configuring-pre-fetch-for-optimized-load-balancing/
Kindly add support for this. Thanks!