franz-0.3.1 is not a library.
Visit the last successful build:
franz-0.7.5
Franz
A simple and friendlier alternative to Apache Kafka
Usage
franz --path /path/to/store/data
Protocol
The majority of the protocol is newline delimited and the order of messages is more important
- the kind of client (num)
- topic name
0\ntest\n
^ ^
| |
| topic name
|
client kind
client kind is defined as a number: 0 => producer 1 => consumer
Example
spin up a franz instance
franz --path /tmp/franz-test
in another terminal connect to the instance with netcat
nc localhost 8085
make a producer client by sending a "0"
0
select and create a topic by sending a "test_topic"
test_topic
send some messages
hello
world
msg3