Skip to content

Latest commit

 

History

History

simple-kafka

Kafka

Start Zookeeper and Kafka

  1. Start Zookeeper
zookeeper-server-start.sh ~/kafka-folder/config/zookeeper.properties
  1. Start Kafka server
kafka-server-start.sh ~/kafka-folder/config/server.properties

Start KRaft and Kafka

  1. Generate UUID for cluster
kafka-storage.sh random-uuid
  1. Config server id
kafka-storage.sh format -t <uuid> -c ~/Documents/kafka-folder/config/kraft/server.properties
  1. Start Kafka server without Zookeeper
kafka-server-start.sh ~/kafka-folder/config/kraft/server.properties

Run simple Kafka cluster using conduktor config

  1. Deploy and run kafka cluster with docker
make conduktor
  1. Go to http://localhost:8080 and login

Run simple Kafka cluster using only redpanda config

  1. Deploy and run kafka cluster with docker
make panda
  1. Go to http://localhost:8080

Real-world project

  • Wikimedia Producer
  • OpenSearch Consumer