Crates.io | franz-client |
lib.rs | franz-client |
version | 0.7.2 |
source | src |
created_at | 2024-09-25 23:56:50.410415 |
updated_at | 2024-10-29 19:33:02.55476 |
description | client for franz server written in rust |
homepage | https://github.com/MostlyMaxi/franz-client |
repository | https://github.com/MostlyMaxi/franz-client |
max_upload_size | |
id | 1386825 |
size | 11,261 |
[message length : u32]([key]=[value] : utf8)
version=1,topic=test_topic_name,api=produce
msg1\nmsg2\nmsg3\n
void franz_send(franz_producer_t tx, char *data, size_t len);
This example assumes you have a franz server running on port 8085 bound to localhost.
You can spin up a test server with franz --path /tmp/franz-test
then test the client with cargo run --example client