Skip to content

krishna1m/kafka_potion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

understanding KafkaEx lib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published