nimrdkafka

Nim wrapper for librdkafka

Wrapper score 15/100 · tests present · no docs generated

Wraps a native library — check OS Compatibility below for platform-specific linking notes.

Summary

Latest Version Unknown
License Apache License 2.0
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install nimrdkafka
choosenim install nimrdkafka
git clone https://github.com/dfdeshom/nimrdkafka.git

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
nimrdkafka - - - - - - -

Source

Repository https://github.com/dfdeshom/nimrdkafka.git
Homepage https://github.com/dfdeshom/nimrdkafka
Registry Source nimble_official

README

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.