Online Course
Intro to Apache Kafka

Master Apache Kafka for modern data engineering, real-time streaming, RAG, machine learning, and agentic AI

4.9

870 reviews on
9 students already enrolled
  • Institute of Analytics
  • E-Learning Quality Network
  • European Agency for Higher Education and Accreditation
  • Global Association of Online Trainers and Examiners

Skill level:

Intermediate

Duration:

5 hours
  • Lessons (4 hours)
  • Practice exams (30 minutes)

CPE credits:

3
CPE stands for Continuing Professional Education and represents the mandatory credits a wide range of professionals must earn to maintain their licenses and stay current with regulations and best practices. One CPE credit typically equals 50 minutes of learning. For more details, visit NASBA's official website: www.nasbaregistry.org

Accredited

certificate

What you learn

  • Understand what Apache Kafka is and why it powers modern data systems
  • Explain KRaft architecture, brokers, partitions, replication, and data flow
  • Reason about producers, consumers, offsets, and delivery guarantees
  • Connect Kafka to RAG, real-time ML, and agentic AI architectures
  • Apply the concepts in a guided hands-on capstone using Python and Docker

Topics & tools

Event StreamingFeature EngineeringData EngineeringPythonTheoryShell

Your instructor

Course OVERVIEW

Description

CPE Credits: 3 Field of Study: Computer Software & App
Delivery Method: QAS Self Study

Apache Kafka has become the central nervous system of modern data engineering, powering the real-time movement of data across applications, analytics systems, and increasingly, AI infrastructure.

This course gives you a strong conceptual and practical foundation in Apache Kafka and event streaming. It is designed for graduate students, early-career engineers, and professionals who want to understand not only how Kafka works, but also why it has become such an important part of modern data and AI architectures.

You’ll start with Kafka’s core use cases and learn how it differs from traditional messaging systems and databases. From there, you’ll explore the architecture behind Kafka, including clusters, brokers, the KRaft control plane, topics, partitions, replication, fault tolerance, storage, and message ordering.

Next, you’ll examine how data actually moves through Kafka. You’ll learn how producers write events, how consumers process them, how offsets track progress, and how consumer groups enable horizontal scaling. You’ll also develop an understanding of exactly-once semantics and the mechanisms Kafka uses to support reliable data processing.

The course then expands into the broader Kafka ecosystem. You’ll explore Kafka Connect, stream processing, Schema Registry, data contracts, and Change Data Capture (CDC), building a clearer picture of how Kafka integrates with modern data platforms.

A dedicated section focuses on Kafka for AI applications. You’ll see how event streaming can help solve the data freshness problem in Retrieval-Augmented Generation (RAG), support real-time feature engineering for machine learning, enable event-driven AI agents, and form part of the infrastructure behind modern AI systems.

Finally, you’ll bring everything together in a guided capstone project where you build a real-time transaction monitoring pipeline. You’ll launch a Kafka cluster, create a producer and consumer, implement processing logic, verify the complete pipeline, and complete a coding exercise focused on transaction anomaly filtering.

By the end of the course, you’ll understand Kafka’s architecture, mechanics, and design trade-offs—and be able to explain where it fits within modern data engineering, machine learning, RAG, and agentic AI systems.

Prerequisites

  • Python Programmer Bootcamp

Curriculum

26 lessons 43 exercises 2 exams
  • 1. Welcome & Course Introduction
    10 min

    This brief orientation module introduces your instructor and walks you through the full course roadmap. You will understand the alternating text and video lesson format, the assessment cadence with quizzes and tests, the tools referenced throughout the course, and how each chapter builds toward the capstone project at the end.

    10 min

    This brief orientation module introduces your instructor and walks you through the full course roadmap. You will understand the alternating text and video lesson format, the assessment cadence with quizzes and tests, the tools referenced throughout the course, and how each chapter builds toward the capstone project at the end.

    Meet Your Instructor Free
    Course Overview Free
  • 2. Apache Kafka: The What and The Why
    43 min

    Establish a strong conceptual foundation by exploring what Apache Kafka is and why it has become so widely adopted. You will learn to define events, understand the publish and subscribe model, see real industry use cases, and grasp why batch processing falls short for AI systems that demand fresh data.

    43 min

    Establish a strong conceptual foundation by exploring what Apache Kafka is and why it has become so widely adopted. You will learn to define events, understand the publish and subscribe model, see real industry use cases, and grasp why batch processing falls short for AI systems that demand fresh data.

    What Is Apache Kafka? Free
    Kafka in Action: Real-World Use Cases Free
    Exercise Free
    Why Kafka Matters for Modern Data & AI Free
    Kafka vs. Traditional Messaging Systems & Databases Free
    Exercise Free
  • 3. Kafka Architecture: Clusters, Brokers, and Distributed Mechanics
    42 min

    Go deep into the distributed mechanics that make Kafka work the way it does. This chapter covers the modern KRaft consensus protocol that replaced ZooKeeper, the role of partitions in message ordering, replication and in-sync replicas for fault tolerance, plus the storage internals that enable Kafka's high throughput.

    42 min

    Go deep into the distributed mechanics that make Kafka work the way it does. This chapter covers the modern KRaft consensus protocol that replaced ZooKeeper, the role of partitions in message ordering, replication and in-sync replicas for fault tolerance, plus the storage internals that enable Kafka's high throughput.

    Clusters, Brokers, and the KRaft Control Plane
    Topics, Partitions, and Message Ordering
    Exercise
    Replication, Fault Tolerance, and Durability
    Kafka Storage Internals and Performance
    Exercise
  • 4. Producers, Consumers, and the Mechanics of Data Flow
    44 min

    Learn how applications actually move data through Kafka. This chapter explores producer acknowledgment settings, idempotence, consumer groups, and offset management strategies, along with the three delivery guarantees of at-most-once, at-least-once, and exactly-once. You will understand how these design choices directly shape the reliability of downstream data and AI systems.

    44 min

    Learn how applications actually move data through Kafka. This chapter explores producer acknowledgment settings, idempotence, consumer groups, and offset management strategies, along with the three delivery guarantees of at-most-once, at-least-once, and exactly-once. You will understand how these design choices directly shape the reliability of downstream data and AI systems.

    Producers: Writing Data into Kafka
    Consumers, Offsets, and Tracking Progress
    Exercise
    Consumer Groups and Horizontal Scaling
    Exactly-Once Semantics and Data Reliability
    Exercise
  • 5. Understanding The Kafka Ecosystem
    43 min

    Step beyond core brokers into the broader Kafka ecosystem that supports production pipelines. You will explore Kafka Connect for integrating databases and warehouses without custom code, stream processing for transforming data in flight, Schema Registry for enforcing data contracts, and Change Data Capture for connecting operational systems to AI.

    43 min

    Step beyond core brokers into the broader Kafka ecosystem that supports production pipelines. You will explore Kafka Connect for integrating databases and warehouses without custom code, stream processing for transforming data in flight, Schema Registry for enforcing data contracts, and Change Data Capture for connecting operational systems to AI.

    Kafka Connect: Building Integration Pipelines Without Code
    Stream Processing: Transforming Data in Flight
    Exercise
    Schema Registry and Data Contracts
    Change Data Capture (CDC): Keeping AI in Sync with Reality
    Exercise
  • 6. Kafka as the Engine for Artificial Intelligence
    45 min

    This is where Kafka meets modern AI. You will learn how event streaming supports Retrieval Augmented Generation by keeping vector databases fresh, how real-time feature engineering feeds machine learning models in production, and how autonomous AI agents can communicate through Kafka topics to build composable agentic workflows that scale gracefully.

    45 min

    This is where Kafka meets modern AI. You will learn how event streaming supports Retrieval Augmented Generation by keeping vector databases fresh, how real-time feature engineering feeds machine learning models in production, and how autonomous AI agents can communicate through Kafka topics to build composable agentic workflows that scale gracefully.

    Retrieval-Augmented Generation (RAG) and the Data Freshness Problem
    Real-Time Feature Engineering for Machine Learning
    Exercise
    Event-Driven Autonomous AI Agents
    Architecting AI Data Infrastructure
    Exercise
  • 7. Capstone Project: Build a Real-Time Transaction Monitoring Pipeline
    39 min

    Bring everything together in a guided capstone that puts the course concepts into practice. Using Python, Docker Compose, and a single-node KRaft cluster on your own machine, you will follow along as a producer streams mock transactions, a consumer applies anomaly logic, and the full pipeline runs end to end.

    39 min

    Bring everything together in a guided capstone that puts the course concepts into practice. Using Python, Docker Compose, and a single-node KRaft cluster on your own machine, you will follow along as a producer streams mock transactions, a consumer applies anomaly logic, and the full pipeline runs end to end.

    Capstone Briefing and Architectural Blueprint
    Launching the Kafka Cluster and Building the Producer
    Building the Consumer with Processing Logic
    End-to-End Execution, Verification, and Teardown
    Exercise
    Coding exercise
    Practice exam
  • 8. Course exam
    60 min
    60 min
    Course exam

Free lessons

Meet Your Instructor

1.1 Meet Your Instructor

5 min

Course Overview

1.2 Course Overview

5 min

What Is Apache Kafka?

2.1 What Is Apache Kafka?

11 min

Kafka in Action: Real-World Use Cases

2.2 Kafka in Action: Real-World Use Cases

9 min

Why Kafka Matters for Modern Data & AI

2.4 Why Kafka Matters for Modern Data & AI

12 min

Kafka vs. Traditional Messaging Systems & Databases

2.5 Kafka vs. Traditional Messaging Systems & Databases

11 min

Start for free

ACCREDITED certificates

Craft a resume and LinkedIn profile you’re proud of—featuring certificates recognized by leading global institutions.

Earn CPE-accredited credentials that showcase your dedication, growth, and essential skills—the qualities employers value most.

  • Institute of Analytics
  • E-Learning Quality Network
  • European Agency for Higher Education and Accreditation
  • Global Association of Online Trainers and Examiners

Certificates are included with the Self-study learning plan.

A LinkedIn profile mockup on a mobile screen showing Parker Maxwell, a Certified Data Analyst, with credentials from 365 Data Science listed under Licenses & Certification. A 365 Data Science Certificate of Achievement awarded to Parker Maxwell for completing the Data Analyst career track, featuring accreditation badges and a gold “Verified Certificate” seal.

How it WORKS

  • Lessons
  • Exercises
  • Projects
  • Practice exams
  • AI mock interviews

Lessons

Learn through short, simple lessons—no prior experience in AI or data science needed.

Try for free

Exercises

Reinforce your learning with mini recaps, hands-on coding, flashcards, fill-in-the-blank activities, and other engaging exercises.

Try for free

Projects

Tackle real-world AI and data science projects—just like those faced by industry professionals every day.

Try for free

Practice exams

Track your progress and solidify your knowledge with regular practice exams.

Try for free

AI mock interviews

Prep for interviews with real-world tasks, popular questions, and real-time feedback.

Try for free

Student REVIEWS

A collage of student testimonials from 365 Data Science learners, featuring profile photos, names, job titles, and quotes or video play icons, showcasing diverse backgrounds and successful career transitions into AI and data science roles.