🎄 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.

Round Robin configuration

johanbento
johanbento Member Posts: 1

Hi!

I have a question abount using Solace Python SDK to connect to a non-exclusive queue. The Solace PubSub+ is self hosted and there are two consumers connected to a non exclusive type queue. The consumer takes about 5 seconds to send an ack signal to the broker, during that time consumers displays different Delivery States:
- Deliver from Input Stream
- Deliver from Memory

Creating messages on a queue and not sending an answer created a scenario. Until the first consumer read and didn't consume all the messages into the queue, the other consumer remained silent on a deliver from input stream state.

Seeing videos about round robin into Youtube and searching through Solace Forums, I've found a way to set Maximum Delivered Unacknowledged Messages per Flow to 1, so that makes the second consumer active.

The application is built under Solace samples stored on Github, but switched to a non exclusive queue type.

Is there another way to make a round robin scenario to work using a callback or another configuration?

Thank you for your help.

Tagged:

This Week's Leaders