Stream/Queue size in bytes (x-max-length-bytes) #2551
Closed
kurenchuksergey
started this conversation in
General
Replies: 1 comment
-
I discussed it with the RabbitMQ team and an Erlang |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have checked rabbitmq documentation again and noticed that x-max-length-bytes are limited by int value only for the queues (https://www.rabbitmq.com/maxlength.html).
But for the streams limitation is not described and even thought in examples (https://www.rabbitmq.com/streams.html#retention)
there is a value greater than the integer (20 GB).
Unfortunately, the max size isn't described (or I didn't find it). Can I try to add an additional overloaded method to SuperStreamBuilder?
public SuperStreamBuilder maxLength(long bytes) { return withArgument("max-length-bytes", bytes); }
And maybe the same for x-stream-max-segment-size-bytes? Its limit is also unclear
Thanks
Beta Was this translation helpful? Give feedback.
All reactions