mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-02 19:47:55 +00:00
Multiple fixes on README.md
This commit is contained in:
10
README.md
10
README.md
@@ -1,12 +1,11 @@
|
|||||||
# cppkafka
|
# cppkafka
|
||||||
---
|
---
|
||||||
High level C++ wrapper for _rdkafka_
|
High level C++ wrapper for _rdkafka_
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
||||||
* _cppkafka_ is a high level C++ wrapper for _rdkafka_, aiming at allowing to use _rdkafka_ in a
|
* _cppkafka_ is a high level C++ wrapper for _rdkafka_, aiming to allow using _rdkafka_ in a
|
||||||
simple, less error prone way.
|
simple, less error prone way.
|
||||||
|
|
||||||
* _cppkafka_ provides an API to produce messages as well as consuming messages, but the latter is
|
* _cppkafka_ provides an API to produce messages as well as consuming messages, but the latter is
|
||||||
@@ -14,13 +13,16 @@ only supported via the high level consumer API. _cppkafka_ requires **rdkakfa >=
|
|||||||
order to use it. Other wrapped functionalities are also provided, like fetching metadata,
|
order to use it. Other wrapped functionalities are also provided, like fetching metadata,
|
||||||
offsets, etc.
|
offsets, etc.
|
||||||
|
|
||||||
|
* _cppkafka_ tries to add minimal overhead over _librdkafka_. A very thin wrapper for _librdkafka_
|
||||||
|
messages is used for consumption so there's virtually no overhead at all.
|
||||||
|
|
||||||
**Note**: _cppkafka_ is under development so the API might change through time. Once there's an
|
**Note**: _cppkafka_ is under development so the API might change through time. Once there's an
|
||||||
actual release, it should become more stable.
|
actual release, it should become more stable.
|
||||||
|
|
||||||
# It's simple!
|
# It's simple!
|
||||||
|
|
||||||
_cppkafka_'s API is simple. For example, this code creates a producer writes a message into some
|
_cppkafka_'s API is simple. For example, this code creates a producer that writes a message
|
||||||
partition:
|
into some partition:
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
#include <cppkafka/producer.h>
|
#include <cppkafka/producer.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user