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

Subscription Priorities #556

Open
1 task done
patstevens4 opened this issue Jan 2, 2025 · 0 comments
Open
1 task done

Subscription Priorities #556

patstevens4 opened this issue Jan 2, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@patstevens4
Copy link

Is there an existing proposal for this?

  • I have searched the existing proposals

Is your feature request related to a problem?

High priority messages intermixed with low priority messages taking a while to receive on low throughput connections.

Describe the solution you'd like

I would like to specify the order in which subscriptions process incoming messages, such that high priority subscriptions always run when matching messages are available, and lower priority subscriptions fire when the higher priority subscriptions are drained for a given consumer.

It would be even better is subscription priorities could be set globally, to handle the case where critical messages are spread amongst several queues.

Alternatives you considered

  1. Aggressively start and stop subscriptions for lower priority content when high priority content is available. This can be problematic with valid, low priority messages getting auto confirmed for the app and lost.
@patstevens4 patstevens4 added the enhancement New feature or request label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant