Kafka Protocol Primitives

Header File: <libkafka_asio/primitives.h>

Namespace: libkafka_asio

Find below the type definitions, used by libkafka-asio to represent the primitive types of the Kafka protocol as described on the Kafka wiki.

Types

Int8

typedef boost::int_t<8>::exact Int8

Int16

typedef boost::int_t<16>::exact Int16

Int32

typedef boost::int_t<32>::exact Int32

Int64

typedef boost::int_t<64>::exact Int64

Byte

typedef boost::uint_t<8>::exact Byte

String

typedef std::string String

Bytes

typedef boost::shared_ptr<std::vector<Byte> > Bytes