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 2020/09/01 02:23:51 UTC

[GitHub] [rocketmq] wn0112 opened a new issue #2282: 发送消息大小超过 128k 报错:the message is illegal, maybe msg body or properties length not matched. msg body length limit 128k, msg properties length limit 32k.

wn0112 opened a new issue #2282:
URL: https://github.com/apache/rocketmq/issues/2282


   我使用 golang rocketmq-client 作为 producer 发送消息。
   https://github.com/apache/rocketmq-client-go
   我使用 SendSync() 发送同步消息
   当消息小于128k 时,一切正常
   
   当我的消息大于 2M时,返回错误:
   ```
   the message is illegal, maybe msg body or properties length not matched. msg body length limit 128k, msg properties length limit 32k.
   ```
   打印出 broker 配置
   ```
   mqbroker.cmd -p
   ```
   显示 *maxMessageSize=4194304*
   请问报错的原因是什么??


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] wn0112 commented on issue #2282: Got an error if message size exceeds 128k: the message is illegal, maybe msg body or properties length not matched. msg body length limit 128k, msg properties length limit 32k.

Posted by GitBox <gi...@apache.org>.
wn0112 commented on issue #2282:
URL: https://github.com/apache/rocketmq/issues/2282#issuecomment-684173975


   Because my message size exceeds 4MB


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] ordinaryShen commented on issue #2282: Got an error if message size exceeds 128k: the message is illegal, maybe msg body or properties length not matched. msg body length limit 128k, msg properties length limit 32k.

Posted by GitBox <gi...@apache.org>.
ordinaryShen commented on issue #2282:
URL: https://github.com/apache/rocketmq/issues/2282#issuecomment-717809512


   How to solve it?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] wn0112 closed issue #2282: Got an error if message size exceeds 128k: the message is illegal, maybe msg body or properties length not matched. msg body length limit 128k, msg properties length limit 32k.

Posted by GitBox <gi...@apache.org>.
wn0112 closed issue #2282:
URL: https://github.com/apache/rocketmq/issues/2282


   


----------------------------------------------------------------
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:
users@infra.apache.org