Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How can I make a subscription wait for the next message to be consumed? #5

Open
NikolaiEngel opened this issue Feb 6, 2024 · 0 comments

Comments

@NikolaiEngel
Copy link

I have the following problem: There are several queues with which third-party providers are requested via REST. A floodwait can occur and so the consumption of the affected queue must be interrupted for a specified time.
In my setup, I have several subscribers in parallel for one consumer.

I think a fixed sleep in the subscriber leads to the heartbeat being interrupted & the connection being lost, as well as the other subscribers being hard-blocked.

Stopping the consumer regularly to take the subscribers in and out can't be the solution either, do you have any suggestions or ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant