Skip to content

data-max-hq/local-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published