0Pricing
Advanced Spring Boot 4: Event-Driven Architecture (Kafka) · Lesson

Setting up Local Kafka with Docker

Learn to quickly set up a local Kafka cluster using Docker Compose, providing a sandbox for development and testing.

Local Kafka: Your Dev Sandbox

When building applications that use Apache Kafka, you'll need a Kafka cluster to connect to. For development and testing, setting up a local cluster is ideal.

It provides a safe, isolated environment where you can experiment without affecting production systems. This lesson will guide you through setting it up easily with Docker.

Docker and Docker Compose Basics

Docker is a platform for developing, shipping, and running applications in containers. Containers are lightweight, portable, and self-sufficient units.

Docker Compose is a tool for defining and running multi-container Docker applications. You use a YAML file to configure your application's services, then create and start them all with a single command.

All lessons in this course

  1. Kafka Architecture Overview
  2. Topics, Partitions, and Offsets
  3. Setting up Local Kafka with Docker
  4. Consumer Groups and Rebalancing
← Back to Advanced Spring Boot 4: Event-Driven Architecture (Kafka)