No description
Find a file
WANG ZHENZHE 6a7e02fa23
Add topic partition list APIs (#16)
Co-authored-by: WANG ZHENZHE <zhenzhe-wang@kawazu-sakura-software.co.jp>
2023-12-28 11:16:48 -06:00
.circleci Updates nim requirement to 1.6.2 (#11) 2022-02-18 11:30:55 -06:00
tests Adds support for librdkafka 1.6.2 (#12) 2022-02-22 08:29:27 -06:00
.gitignore Update to support librdkafka 1.4.0 (#4) 2020-04-21 16:45:58 -05:00
example.nim Fix example.nim (#7) 2021-12-27 11:31:38 -06:00
LICENSE Initial commit 2015-11-27 23:09:03 -06:00
nimrdkafka.nim Add topic partition list APIs (#16) 2023-12-28 11:16:48 -06:00
nimrdkafka.nimble Add topic partition list APIs (#16) 2023-12-28 11:16:48 -06:00
README.md Adds support for librdkafka 1.6.2 (#12) 2022-02-22 08:29:27 -06:00

nimrdkafka

Low-level Nim wrapper for librdkafka. Since this is a wrapper, you need to have librdkafka installed and accessible in LD_LIBRARY_PATH.

Example

See the example.nim file

librdkafka compatibility

library: librdkafka
version: 1.6.2
commit: 4483be32ba833e0a2a9129e2510bd63a40655b43

Please install librdkafka 1.6.2 from source before installing this nim package:

https://github.com/edenhill/librdkafka

Installing librdkafka

git clone https://github.com/edenhill/librdkafka
cd librdkafka
git checkout v1.6.2

Read README.md file in librdkafka project for building and installing.

Troubleshooting

  1. Make sure your topic name and partition number is correct in your code.
  2. If using docker for your kafka runtime, make sure the exposed port and hostname is correct.