FastAPI Event Driven Development With Kafka, Zookeeper and Docker Compose: A Step-by-Step Guide Part -2

Ahmed Nafies
6 min readApr 18, 2023

Setting up FastAPI with Kafka and docker compose
Full Code on github here


In this tutorial, we will build a simple FastAPI application that integrates with Apache Kafka to produce messages whenever an operation occurs…