A simple and friendlier alternative to Apache Kafka
franz --path /path/to/store/data
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
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