20#ifndef LIB_MESSAGE_BATCH_H
21#define LIB_MESSAGE_BATCH_H
22#include <pulsar/Message.h>
23#include <pulsar/defines.h>
35 MessageBatch& parseFrom(
const std::string& payload, uint32_t batchSize);
37 MessageBatch& parseFrom(
const SharedBuffer& payload, uint32_t batchSize);
39 const std::vector<Message>& messages();
42 typedef std::shared_ptr<MessageImpl> MessageImplPtr;
46 std::vector<Message> batch_;
Definition MessageBatch.h:29
Definition MessageId.h:34
Definition Authentication.h:31