DragonDriver edited a comment on issue #10050:
URL: https://github.com/apache/pulsar/issues/10050#issuecomment-809127456


   When deploying pulsar using `standalone` mode, `maxMessageSize` can be 
modified by `standalone.conf`. Just add two lines in `standalone.conf`.
   
   ```conf
   maxMessageSize=1073741824
   nettyMaxFrameSizeBytes=1073741824
   ```
   
   And then use volumes to bind `standalone.conf` in pulsar container.
   
   ```yaml
   version: '3.5'
   
   services:
     pulsar:
       image: apachepulsar/pulsar:2.6.1
       command: bin/pulsar standalone
       volumes:
           - /standalone.conf:/pulsar/conf/standalone.conf
       ports:
         - "6650:6650"
         - "18080:8080"
       networks:
         - test
   
   networks:
     test:
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to