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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
