Event-Driven Architecture with Apache Kafka: Python and Docker Hands-On
Master Apache Kafka by building a real-time event-driven Python application. Learn core streaming concepts, spin up brokers with Docker Compose, and implement producers and consumers. This hands-on guide prepares you for building scalable data pipelines and real-time AI integrations.

Course Overview
Welcome to the ultimate hands-on guide to Apache Kafka! In this course, you will transition from a traditional request-response mindset to designing highly scalable, event-driven architectures. You will learn to build, run, and test a complete real-time streaming data pipeline from scratch.
What You'll Learn
- Kafka Core Architecture: Understand topics, partitions, brokers, and how Kafka achieves high throughput and fault tolerance.
- Dockerized Setup: Spin up Kafka and Zookeeper/KRaft containers seamlessly using Docker Compose.
- Hands-on Python Integration: Write production-ready Kafka Producers and Consumers using Python.
- Command Line Operations: Master the Kafka CLI to monitor, troubleshoot, and manage your streaming data.
- AI Pipeline Concepts: Discover how event-driven streams connect to Retrieval-Augmented Generation (RAG) systems using Vector Embeddings and a Vector Store.
Target Audience & Prerequisites
- Target Audience: Beginner developers and backend engineers who want to build distributed systems.
- Prerequisites: Basic Python programming knowledge, an OpenAI API key (for optional AI integrations), and familiarity with Docker.
Tools & Technologies Used
- Apache Kafka & Zookeeper
- Docker & Docker Compose
- Python (with
confluent-kafkalibrary) - PyCharm IDE
- ChromaDB & OpenAI API (for downstream RAG pipelines)
Course Content
Introduction to Apache Kafka & Event Streaming Architecture
Understanding Event Streaming & Why Kafka?
How Kafka Achieves Scalable Performance
Kafka vs. Traditional Message Brokers & Demo Overview
Setting Up Kafka with Docker Compose
Initializing the Python Project Environment
Configuring and Running Kafka with Docker Compose
Developing Kafka Producers and Consumers in Python
Writing and Running a Kafka Producer in Python
Writing and Running a Kafka Consumer in Python
Testing the End-to-End Flow and Graceful Shutdown
Kafka CLI Operations and Pipeline Validation
Mastering the Kafka CLI
End-to-End Pipeline Validation and Graceful Shutdown
This course includes
- 1h 14m on-demand video
- 10 lessons across 4 chapters
- 4 interactive quizzes
- Access on mobile and desktop
- Source playlist on YouTube
Topics Covered
About the Channel
Helping millions of engineers to advance their careers with DevOps & Cloud education 💙 I create new videos every month, topics include mainly DevOps and Cloud tutorials. Subscribe and activate bell notification so you don't miss new videos :) I'm a Docker Captain, AWS Container Hero 🤓 💪 ► https://www.techworld-with-nana.com/ Some topics covered: - Docker, Kubernetes, CI/CD - GitLab CI, GitHub Actions, Jenkins, Python, Ansible, Monitoring, Infrastructure as Code - DevOps Career Advice - AI in DevOps and Cloud - & more! Have fun watching my videos! 🙂
Share
Related Courses

Mastering AI-Driven Development with OpenAI Codex: From Setup to Autonomous Agents
Master OpenAI Codex to build, manage, and deploy applications using autonomous AI agents. Learn to set up workspaces, leverage git worktrees, configure Agents.md, and build three complete applications step-by-step from scratch.

Data Analysis and Visualization Fundamentals with Python, Pandas, and Matplotlib
Master the basics of data science by learning how to analyze and visualize real-world datasets. Using Python, Pandas, and Matplotlib within Jupyter Notebooks, you will plot population growth trends and compare relative data.

DevOps Zero to Hero: Practical Systems, CI/CD, and Cloud Engineering
Master modern DevOps from scratch. Learn SDLC, Linux Shell Scripting, Git, AWS, Terraform, Ansible, Docker, Jenkins CI/CD pipelines, and production-grade Kubernetes orchestration with real-world projects.