kafka/clients/cpp
Neha Narkhede 3f0046be1b KAFKA-143 Fixing source code files to have the Apache license header ;patched by nehanarkhede; reviewed by junrao
git-svn-id: https://svn.apache.org/repos/asf/incubator/kafka/trunk@1183191 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 01:32:41 +00:00
..
src KAFKA-141 Follow up patch to fix the cpp files; patched by Lorenzo, nehanarkhede; reviewed by junrao, jjkoshy 2011-10-12 01:05:28 +00:00
LICENSE KAFKA-93 | add license to missed files and remove LinkedIn copyright line per ASF guideline. Thanks to Joel Koshy for pointing it out 2011-08-10 18:32:09 +00:00
Makefile.am Initial checkin of Kafka to Apache SVN. This corresponds to 709afe4ec7 except that git specific files have been removed and code has been put into trunk/branches/site/etc. This is just a copy of master, branches and history are not being converted since we can't find a good tool for it. 2011-08-01 23:41:24 +00:00
README.md KAFKA-141 Follow up patch to fix the cpp files; patched by Lorenzo, nehanarkhede; reviewed by junrao, jjkoshy 2011-10-12 01:05:28 +00:00
autoconf.sh KAFKA-141 Follow up patch to fix the cpp files; patched by Lorenzo, nehanarkhede; reviewed by junrao, jjkoshy 2011-10-12 01:05:28 +00:00
configure.ac KAFKA-143 Fixing source code files to have the Apache license header ;patched by nehanarkhede; reviewed by junrao 2011-10-14 01:32:41 +00:00

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