Skip to content

mostlymaxi/franz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. the kind of client (num)
  2. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published