English 中文(简体)
what the default max length of rabbit queue
原标题:

For any given queue, the maximum length (of either type) can be defined using a policy (this option is highly recommended) or by clients using the queue s optional arguments. In the case where both the effective queue policy and arguments specify a maximum length, the minimum of the two values will be used. Queue length settings also can be enforced by operator policies.

https://www.rabbitmq.com/maxlength.html

As we can see, the rabbitmq document has told us how to set the max-length of queues. But I d like to know what the default value of max-length is if we not do any changes. is it no limit until my server s resources not available?

问题回答

The default maximum length of a RabbitMQ queue is unlimited, yes it has no limit until the server s resources are consumed.

If we set up length ourselves using x-max-length or using management-console, then we have to carefully consider the need of the application if queue is frequently reaching maximum length the oldest messages will be dopped





相关问题
what the default max length of rabbit queue

For any given queue, the maximum length (of either type) can be defined using a policy (this option is highly recommended) or by clients using the queue s optional arguments. In the case where both ...

Retrieve messages from RabbitMQ queue(s)

I m looking to implement RabbitMQ into my PHP application, and am using the php-amqp extension. My only question is this, how do I easily query to return the contents of the queue in PHP? php-amqp ...

How to use listen on basic.return in python client of AMQP

I d like to make sure that my message was delivered to a queue. To do so I m adding the mandatory param to the basic_publish. What else should I do to receive the basic.return message if my message ...

Is AMQP production ready?

I d like to use AMQP to join two services one written in C# and other written in python. I m expecting quite large volume of messages per second. Is there any AMQP Broker that is production ready? ...

Multiple consumer one queue

Is it possible to make multiple consumers to share one single queue in RabbitMQ? I am currently using this php library to work with RabbitMQ, from what I observe, although I have 2 identical instances ...

Why use AMQP/ZeroMQ/RabbitMQ

as opposed to writing your own library. We re working on a project here that will be a self-dividing server pool, if one section grows too heavy, the manager would divide it and put it on another ...

How to wait for messages on multiple queues using py-amqplib

I m using py-amqplib to access RabbitMQ in Python. The application receives requests to listen on certain MQ topics from time to time. The first time it receives such a request it creates an AMQP ...

热门标签