jonnxu commented on a change in pull request #95: [Issue#94] Support send batch
message to broker
URL: https://github.com/apache/rocketmq-client-cpp/pull/95#discussion_r259577037
##########
File path: include/BatchMessage.h
##########
@@ -0,0 +1,12 @@
+#ifndef __BATCHMESSAGE_H__
+#define __BATCHMESSAGE_H__
+#include "MQMessage.h"
+#include <string>
+namespace rocketmq {
+ class BatchMessage : public MQMessage {
+ public:
+ static std::string encode(std::vector <MQMessage> &msgs);
+ static std::string encode(MQMessage &message);
+ };
+}
+#endif
Review comment:
ok
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services