Skip to content

sidneiweber/vagrant-kafka-without-zookeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant Kafka Without Zookeeper

As some of you know, the Kafka project is working to stop using Zookeeper (KIP-500). And in current versions we already have a preview of this feature with Apache Kafka Raft.

Kafka Kraft

Requisites

  • Vagrant

Running Kafka

vagrant up

Wait for the whole process until you receive the message: kafka3: Finish instalation

The Kafka cluster will be available with the following addresses:

  • 192.168.56.11:9092 (kafka1)
  • 192.168.56.12:9092 (kafka2)
  • 192.168.56.13:9092 (kafka3)

Testing

With the kafka cli installed on the host we can issue some commands to the cluster:

kafka-topics.sh --create --topic topic_test --partitions 5 --replication-factor 1 --bootstrap-server 192.168.56.11:9092,192.168.56.12:9092,192.168.56.13:9092
Created topic topic_test.
kafka-topics.sh --list --bootstrap-server 192.168.56.11:9092,192.168.56.12:9092,192.168.56.13:9092
topic_test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages