Steadybit logoReliability Hub
GitHubGitHub iconStart Free Trial
Steadybit logoReliability Hub

Alter Queue Max Length

AttackAttack
Limit the maximum number of messages a queue can hold by creating a temporary RabbitMQ policy. The policy is removed when the attack ends.
Targets:
RabbitMQ Queues
Install now

Alter Queue Max Length

Limit the maximum number of messages a queue can hold by creating a temporary RabbitMQ policy. The policy is removed when the attack ends.
AttackAttack
Install now

Alter Queue Max Length

AttackAttack
Limit the maximum number of messages a queue can hold by creating a temporary RabbitMQ policy. The policy is removed when the attack ends.
Install now

Alter Queue Max Length

Limit the maximum number of messages a queue can hold by creating a temporary RabbitMQ policy. The policy is removed when the attack ends.
AttackAttack
Install now
Go back to list
The action "Alter Queue Max Length" within the experiment editor.The action "Alter Queue Max Length" within the experiment editor.

Introduction

Limits the maximum number of messages a RabbitMQ queue can hold by creating a temporary max-length policy with the highest priority. When the attack ends, the policy is automatically removed and the queue reverts to its original configuration.

Use Cases

  • Set a very low max length to force message drops and test how producers and consumers handle rejected or dead-lettered messages.
  • Verify that consumers tune their prefetch correctly under constrained queue capacity.
  • Simulate a resource-limited queue to validate dead-letter exchange routing behavior.

Parameters

ParameterDescriptionDefault
DurationHow long the max-length policy stays in effect. The policy is automatically removed when the duration expires, restoring the queue's original configuration.60s
Max LengthMaximum number of messages the queue is allowed to hold. Messages beyond this limit are dropped or dead-lettered depending on queue configuration. Set to a low value to force backpressure.1000

More RabbitMQ Queue Actions

See all
Check Queue Backlog
Monitor the total message count (backlog) in a RabbitMQ queue and fail the experiment if it exceeds a threshold
CheckCheck
RabbitMQ Queues
Start Using Steadybit Today

Get started with Steadybit, and you’ll get access to all of our features to discover the full power of Steadybit. Available for SaaS and on-prem!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Statistics
-Stars
Tags
Message Queue
RabbitMQ
Homepage
hub.steadybit.com/extension/com.steadybit.extension_rabbitmq
License
MIT
MaintainerSteadybit
Install now
Steadybit logoReliability Hub
Start Free Trial
© 2026 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon