Skip to content

A mono repo for presentation on Kappa Architecture

License

Notifications You must be signed in to change notification settings

mattsp1290/kappa

Repository files navigation

kappa

A mono repo for presentation on Kappa Architecture

Slides: https://docs.google.com/presentation/d/1WNmq6_YUYxX2EMjR8Mf65uACocyqeyVoi1nKOzXT6nc/edit?usp=sharing

Setup

Add the following entries or their equivalents to your /etc/hosts file

127.0.0.1 kafka

127.0.0.1 postgresql

127.0.0.1 rails

Then run the following

docker swarm init

docker network create kappa -d overlay --attachable --scope swarm

docker stack deploy -c docker-compose-backing.yml backing

Get an oAuth token from twitch at https://twitchapps.com/tmi/

Set it as the environment variable TWITCH_PASSWORD and set your twitch username to TWITCH_USERNAME

Use the build.sh file in each directory

Then run

docker stack deploy -c docker-compose-app.yml app

The app minus Kafka consumers is now available on http://localhost:8000

About

A mono repo for presentation on Kappa Architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published