You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/06/28 02:41:05 UTC

[GitHub] [rocketmq] shengminw commented on issue #4520: [Optimization] Implenment adjusting maxMessageSize dynamicly

shengminw commented on issue #4520:
URL: https://github.com/apache/rocketmq/issues/4520#issuecomment-1168150403

   @lizhiboo 
   Yes, maxMessageSize can been set before usage in the MessageStoreConfig. And the default maxMessageSize is 4 * 1024 * 1024. 
   Except for setting paramaters before usage, RMQ also provide some tools to update MessageStoreConfig during broker is running. For exmaple, when we want to send a message is 5 * 1024 * 1024, we can use "mqadmin updateBrokerConifig -b *** -k maxMessageSize -v 5 * 1024 * 1024" to update broker config.
   However, just modify the MessageStoreConfig cannot tanke effect, because the buffer used for encoding in CommitLog has been initialized.


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org