To my knowledge there is no easy way to get the max message size of messages you've already published. To get an approximation of message sizes I usually take "Message body bytes"/"Messages" that are available from the management interface/HTTP API for each individual queue.
/Johan
> On Jun 13, 2019, at 5:11 AM, Michael Logutov <
log...@gmail.com> wrote:
>
> Hello.
> We want to limit the max message size for our rabbitmq cluster but first we must know whats the current message sizes our microservices send. Is there a way to know this? Like from queue statistics?
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
rabbitmq-user...@googlegroups.com.
> To post to this group, send email to
rabbitm...@googlegroups.com.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/rabbitmq-users/1e70c44d-af25-403b-9716-80f4b5f64cf3%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.