newlipeng opened a new issue #2139:
URL: https://github.com/apache/rocketmq/issues/2139


   org.apache.rocketmq.client.exception.MQBrokerException: CODE: 13  DESC: the 
message is illegal, maybe msg body or properties length not matched. msg body 
length limit 128k, msg properties length limit 32k.
   For more information, please visit the url, 
http://rocketmq.apache.org/docs/faq/
        at 
org.apache.rocketmq.client.impl.MQClientAPIImpl.processSendResponse(MQClientAPIImpl.java:709)
        at 
org.apache.rocketmq.client.impl.MQClientAPIImpl.sendMessageSync(MQClientAPIImpl.java:505)
        at 
org.apache.rocketmq.client.impl.MQClientAPIImpl.sendMessage(MQClientAPIImpl.java:487)
        at 
org.apache.rocketmq.client.impl.MQClientAPIImpl.sendMessage(MQClientAPIImpl.java:431)
   
   I test at 2m-2s-sync mode, this code works; at dledger conf (cluster mode), 
it got an exception.
   code:
   Message msg = new Message("TestTopic","TagA","order1", ("Hello RocketMQ " 
+i).getBytes());
   msgs.add(msg);
   SendResult sendResult = producer.send(msgs);
   


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