Kafka + Docker Compose Setup (KRaft Mode) | Flight Booking Engine | Day 59
Автор: Nehemiah Kamolu
Загружено: 2025-12-24
Просмотров: 180
The theory is over—it’s time to spin up the infrastructure! 🏗️ In Day 59, we begin the Kafka implementation by setting up the environment. Before our FastAPI backend can send a single event, we need a robust Message Broker running locally.
Today, we focus entirely on DevOps configuration. We are setting up Apache Kafka in KRaft mode (no Zookeeper required) alongside a visual interface to monitor our events.
💡 In this live build:
Docker Compose Orchestration: Adding Kafka services to our existing stack.
KRaft Mode: Configuring modern Kafka without the complexity of Zookeeper.
Dual Listeners Explained: Solving the "localhost vs. container" networking confusion.
Kafka UI: Setting up a dashboard to visualize topics and messages in real-time.
Health Checks: Ensuring the broker is ready before the API attempts to connect.
By the end, we will have a healthy, running Kafka cluster and a UI dashboard—ready for our API to start producing events.
📘 Watch the full playlist: 👉 • FastAPI & Next.js project: Flight Booking ...
📂 GitHub Repo (Public Mirror): 👉 https://github.com/KNehe/aero_bound_v...
🔥 Subscribe for real fullstack DevOps & Engineering—no shortcuts.
#FastAPI #Docker #ApacheKafka #DevOps #SystemDesign #KRaft
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: