Reference

max_payload

Maximum number of bytes in a message payload. Reducing this size may force you to implement chunking in your clients. Applies to client and leafnode payloads. It is not recommended to use values over 8MB but max_payload can be set up to 64MB. The max payload must be equal or smaller to the max_pending value.

  • Default value: 1MB
  • Hot reloadable: Yes

Values

TypeDescriptionChoices
string--
Previous
max_connections