Add more producer stuff

This commit is contained in:
Matias Fontanini
2016-05-17 18:51:30 -07:00
parent 1cc8f027c9
commit 5848bccdb8
7 changed files with 40 additions and 25 deletions

View File

@@ -1,6 +1,8 @@
#ifndef CPPKAFKA_BUFFER_H
#define CPPKAFKA_BUFFER_H
#include <cstddef>
namespace cppkafka {
class Buffer {
@@ -8,7 +10,6 @@ public:
using DataType = unsigned char;
Buffer();
Buffer(const std::string& data);
Buffer(const DataType* data, size_t size);
Buffer(const Buffer&) = delete;