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

Limit the maximum number of concurrent messages consumed from a queue #224

Open
jimbair opened this issue Aug 23, 2021 · 0 comments
Open

Comments

@jimbair
Copy link

jimbair commented Aug 23, 2021

Feature Request

We have run into an issue with mass rebuilds on the CI side where we will get thousands of messages across either Fedora or Red Hat message buses. I've looked into projects like https://github.com/jenkinsci/throttle-concurrent-builds-plugin to help limit it, but Jenkins itself gets very angry when it has hundreds, let alone thousands, of jobs queued up to run regardless if a runner is doing any work.

Ideally, we could tell jms-messaging to limit the number of consumed messages to be say 25 (or 50, 100, etc) and not grab more until we ack/close out the messages we are already working on.

However, if there's some Jenkins way to do this and I'm just missing something obvious, I am open to 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