running examples
-
Install C/C++ librdkafka as described here unless you have already done so.
-
Clone repository
git clone [email protected]:vspaz/kafka.zig.git
- Start a test kafka instance
cd kafka.zig
make kafka-start # it takes a few seconds
- Run examples
cd examples
zig build run