Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9124189
README.md
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1015 B
Subscribers
None
README.md
View Options
#
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/
```
bash
./
autoconf
.
sh
./
configure
```
Run
this
to
generate
the
makefile
for
your
system
.
Do
this
first
.
```
bash
make
```
builds
the
producer
example
and
the
KafkaConnect
library
```
bash
make
check
```
builds
and
runs
the
unit
tests
,
```
bash
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 21, 6:48 PM (2 w, 18 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3288351
Attached To
rPKAFKA Kafka Debian packaging
Event Timeline
Log In to Comment