Skip to content

Latest commit

 

History

History
26 lines (26 loc) · 711 Bytes

README.md

File metadata and controls

26 lines (26 loc) · 711 Bytes

KafkaPotion

Demo link

Launch

Split up your tmux window into 3 panes. Do this in the pane 1.1

./startup

In one of the other two panes, do

iex -S mix

In the third window, do

./sumnos 100

What the scripts do?

./startup

Kills all running docker containers Tries to start pods that are required(zookeeper, kafka). Creates a topic test once kafka is up and running. Opens up a CLI to send messages on.

./sumnos 100

Sends numbers from 1 to 100 to the tmux pane 1.1, each of which are all published to the topic. The consumer in our app running under iex -S mix works with it.