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

RabbitMQ messages limited to 64MiB #59

Open
robbavey opened this issue May 3, 2024 · 1 comment
Open

RabbitMQ messages limited to 64MiB #59

robbavey opened this issue May 3, 2024 · 1 comment
Labels
bug Something isn't working status:needs-triage

Comments

@robbavey
Copy link
Contributor

robbavey commented May 3, 2024

Attempting to receive messages greater than 64MiB from a RabbitMQ queue, will currently fail with the following error:

[2024-04-28T13:11:12,192][ERROR][com.rabbitmq.client.impl.ForgivingExceptionHandler][err][rabbitmq] An unexpected connection driver error occurred
java.lang.IllegalStateException: Message body is too large (103456140), maximum configured size is 67108864. See ConnectionFactory#setMaxInboundMessageBodySize if you need to increase the limit.
at com.rabbitmq.client.impl.CommandAssembler.consumeHeaderFrame(CommandAssembler.java:109) ~[rabbitmq-client.jar:5.20.0]
at com.rabbitmq.client.impl.CommandAssembler.handleFrame(CommandAssembler.java:172) ~[rabbitmq-client.jar:5.20.0]
at com.rabbitmq.client.impl.AMQCommand.handleFrame(AMQCommand.java:108) ~[rabbitmq-client.jar:5.20.0]
at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:123) ~[rabbitmq-client.jar:5.20.0]
at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:761) [rabbitmq-client.jar:5.20.0]
at com.rabbitmq.client.impl.AMQConnection.access$400(AMQConnection.java:48) [rabbitmq-client.jar:5.20.0]
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:688) [rabbitmq-client.jar:5.20.0]
at java.lang.Thread.run(Thread.java:829) [?:?]

This error effectively blocks the queue from being processed by Logstash, with the message acting as a "poison pill"

@robbavey robbavey added bug Something isn't working status:needs-triage labels May 3, 2024
@robbavey
Copy link
Contributor Author

robbavey commented May 3, 2024

Related: ruby-amqp/march_hare#164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant