Kafka setup referenced from this tutorialhttps://www.baeldung.com/ops/kafka-docker-setup
- Please rename .env.example to .env
docker compose up --build -d
(topic 'transactions', database 'test' with table 'transactions' will be created automatically)pipenv install
cd src
pipenv run uvicorn main:app --reload
- access http://localhost:8000/transactions to operate