FAQ: What is the message size limit in RabbitMQ?

FAQ: What is the max size of one single message in RabbitMQ?

For RabbitMQ version 4.0+ the default max message size has been reduced to 16MiB. For versions 3.13 to 3.8 the default max message size is 128MiB. The hard limit max message size is capped at 512mb. For even earlier versions the maximum size was 2gb. On CloudAMQP we limit message size at 128MiB. We don’t recommend sending messages larger than 128MiB.

If you need to adjust your max_message size you can do so from the CloudAMQP console ➡️ RabbitMQ ➡️ Configuration ➡️ rabbit.max_message_size. It is recommended to set the value closer to your average message size.

LavinMQ

For LavinMQ max message size is 128mb. Max message is configurable.

References:
https://github.com/rabbitmq/rabbitmq-server/issues/147#issuecomment-470882099
https://github.com/rabbitmq/rabbitmq-common/pull/289
https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.0.1
https://lavinmq.com/blog/lavinmq-adds-support-for-max-message-size

CloudAMQP - industry leading RabbitMQ as a service

Start your managed cluster today. CloudAMQP is 100% free to try.

13,000+ users including these smart companies