nats.io

NATS with moleculer. How can I change NATS max_payload value?

南楼画角 提交于 2021-02-10 14:12:17
问题 My problem is that I need to increase max_payload value that NATS receive but I have no idea where I can do it. The project is using Moleculer and NATS is created as a container with docker. When I try to make a request which is bigger than 1MB NATS returns: ERROR - NATS error. 'Maximum Payload Violation Inside dockstation logs NATS returns: cid:1 - maximum payload exceeded: 1341972 vs 1048576 I tried the following items: Changing tranporter inside Moleculer Broker configs (https://moleculer