Skip to content

This project demonstrates how to use Apache Kafka with a simple Producer and Consumer setup using Docker.

Notifications You must be signed in to change notification settings

boiar/Kafka-Demo-Project

Repository files navigation

Kafka Demo Project

Project Preview

This project demonstrates how to use Apache Kafka with a simple Producer and Consumer setup using Docker. It runs Kafka and Zookeeper in containers and provides example code for producing and consuming messages.


Features

  • Runs Kafka and Zookeeper using Docker Compose.

  • Kafka Producer: sends messages to a topic.

  • Kafka Consumer: reads messages from a topic.

  • Minimal configuration for quick testing and learning.


Technologies Used

  • NodeJs
  • Apache Kafka
  • Docker & Docker Compose

Setup & Run

1. Clone the repository:

git clone https://github.com/boiar/kafka-demo.git

cd kafka-demo

2. Start Zookeeper and Kafka:

docker-compose up -d

3. Verify containers are running:

docker ps

Resources

All my notes and resources are available in https://www.notion.so/Apache-Kafka-27d4d43c353b804e9b8af2acf1b02b23?source=copy_link

About

This project demonstrates how to use Apache Kafka with a simple Producer and Consumer setup using Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published