#message-broker #kafka #api-bindings #redpanda-rs

redpanda

A crate for interacting with Redpanda Message Brokers

3 releases (breaking)

0.5.0 Jan 8, 2023
0.4.0 Dec 11, 2022
0.3.2 Dec 11, 2022

#14 in #message-broker

36 downloads per month
Used in 2 crates

Apache-2.0

40KB
766 lines

Redpanda-rs

Rust crate for interfacing with Redpanda message brokers.

Built on top of the librdkafka C library and its rust bindings.

Provides a layer of abstraction to make using Redpanda (and other Kafka-like) message brokers easier in Rust.

docker exec -it redpanda-0 bash

Change segment size:

rpk topic alter-config <topic> --set segment.bytes=<segment_size> rpk topic alter-config simple --set segment.bytes=1000000

Start local Redpanda and MinIO cluster

docker compose up

Check the broker status on Redpanda Console

http://localhost:8080

References

librdkafka docs:

Dependencies

~19–27MB
~330K SLoC