PUB message too big?
Nyx2022 opened this issue · comments
Nyx2023 commented
when i publish a bytes to nsq,it occurs the error:
E_BAD_MESSAGE PUB message too big 1293055 > 1048576
so i wanna know how to adjust the limit value of 1048576 to a larger value
Jehiah Czebotar commented
You can run nsqd --help
to see the configurable options, or visit the docs page at https://nsq.io/components/nsqd.html
-max-msg-size int
maximum size of a single message in bytes (default 1048576)