Giter VIP home page Giter VIP logo

libkafka-asio's Introduction

libkafka-asio

C++ Kafka Client Library using Boost Asio

Build Status Documentation Status

Introduction

libkafka-asio is a C++ header-only library, implementing the Kafka client protocol. All Kafka APIs, including offset commit/fetch, are implemented:

It supports GZIP and Snappy message compression and therefore relies on the zlib and Snappy libraries. Message compression can optionally be turned off.

The library was tested on Linux (GCC 4.9, clang 3.5.1) and Windows (MSVC 10, 11, 12). There is a set of unit tests available under test.

Usage

Add the lib directory to your include paths and:

#include <libkafka_asio/libkafka_asio.h>

Please see the examples directory for some examples on how to use the library.

Also consult the documentation: libkafka-asio Reference

Dependencies

libkafka-asio depends on the Boost C++ libraries -- specially on Boost Asio. The following Boost sub-libraries are explicitly used in the project:

You need to link against boost_thread and boost_system.

So installing the boost library package on your distribution should do the trick (e.g. apt-get install libboost-dev on Ubuntu, or pacman -S boost on Arch).

libkafka-asio's People

Contributors

danieljoos avatar devil0000 avatar sgso avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.