Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.01 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.01 KB

Create and Test a local Kafka Setup

Start the docker compose

docker compose up -d

Included components

  • zookeeper - needed to run Kafka brokers
  • broker - the Kafka broker
  • akhq - Kafka UI
  • schema_registry - Schema Registry for Kafka
  • connect - Kafka Connect

Remove everything

docker compose down -v

Included Scripts

  • scripts/consumer.py - simple script to read a message from a Kafka topic
  • scripts/producer.py - simple script to push a message to a Kafka topic
  • scripts/schema_registry_client.py - simple script to create a subject in Schema Registry and to read and write messages with schema
  • scripts/topic.py - simple script to create a topic in Kafka

References