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

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.

AWS Cloud DevOps Masters: Zero to Hero Production-Ready Architecture
Master AWS cloud engineering and DevOps practices. Learn to design, deploy, and automate secure, scalable, and cost-optimized infrastructures using VPC, EC2, IAM, EKS, CI/CD pipelines, and Infrastructure as Code.

Foundations of Web Development: Practical HTML for Beginners
Master the essentials of modern web development by learning HTML from scratch. In this practical guide, you will build structured, semantic web pages using headers, lists, links, images, tables, and forms, establishing a rock-solid foundation for your software development journey.