This repository contains some samples of Kafka integrations using Elixir and Erlang
├── README.md
├── erlang_kafka_consumer
└── phx_kafka_consumer
You can see instructions to use each sample
todo
- Docker and docker-compose
- Elixir
Enter inside phx_kafka_consumer
to start the setup
docker-compose up
./scripts/produce-test-events.sh
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Below you can see the consumer works
mix test