🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Relation between Window size and unack messages in message consumer service
Hi,
The page nicely summarises from publisher acknowledgment point of view
Is there something similar for consumer acknowledgment? We see window size often dropping to 0 when unack messages are around 255.
The listener/consumer service is built using Spring Cloud Stream.
Thanks
Tilak
Comments
-
Thanks Giri for the response.
Yes, messages are consumed in batch. The service consumes messages in batch and uploads to S3 one by one (S3 does not support batch upload).
What is batch acknowledgement?
we are using auto ack which ack when no errors returned from consumer.
Batch size is 15, not sure why unack messages reaches around 255 and window size drops to 0. When there is no error in consumer, unack messages should be less than or equal to batch size right?
0 -
Hey @Tilak this is Derrick from Melbourne. I assume you're using the Solace JMS API?
0 -
Actually I see you're using the SCS binder. I think these two links would help with your understanding of flow management and API and Application acknowledgements in Solace.
https://docs.solace.com/API/API-Developer-Guide/Acknowledging-Messages.htm
https://docs.solace.com/API/API-Developer-Guide/Creating-Flows.htm#Importan0