Mirror of Apache Kafka
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Neha Narkhede e27136d81a KAFKA-141 Follow up patch to fix the cpp files; patched by Lorenzo, nehanarkhede; reviewed by junrao, jjkoshy 13 years ago
..
src KAFKA-141 Follow up patch to fix the cpp files; patched by Lorenzo, nehanarkhede; reviewed by junrao, jjkoshy 13 years ago
LICENSE
Makefile.am
README.md KAFKA-141 Follow up patch to fix the cpp files; patched by Lorenzo, nehanarkhede; reviewed by junrao, jjkoshy 13 years ago
autoconf.sh KAFKA-141 Follow up patch to fix the cpp files; patched by Lorenzo, nehanarkhede; reviewed by junrao, jjkoshy 13 years ago
configure.ac

README.md

C++ kafka library

This library allows you to produce messages to the Kafka distributed publish/subscribe messaging service.

Requirements

Tested on Ubuntu and Redhat both with g++ 4.4 and Boost 1.46.1

Installation

Make sure you have g++ and the latest version of Boost: http://gcc.gnu.org/ http://www.boost.org/

./autoconf.sh
./configure

Run this to generate the makefile for your system. Do this first.

make

builds the producer example and the KafkaConnect library

make check

builds and runs the unit tests,

make install

to install as a shared library to 'default' locations (/usr/local/lib and /usr/local/include on linux)

Usage

Example.cpp is a very basic Kafka Producer

API docs

There isn't much code, if I get around to writing the other parts of the library I'll document it sensibly, for now have a look at the header file: /src/producer.hpp

Contact for questions

Ben Gray, MediaSift Ltd.

http://twitter.com/benjamg