Skip to content

varun80042/MyKRaft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyKRaft Consensus

  • KRaft is a event based, distributed metadata management system that was written to replace Zookeeper in the ecosystem of Kafka.
  • It uses Raft as an underlying consensus algorithm to do log replication and manage consistency of state.
  • This project aims to mimic the working of the KRaft Protocol used in Apache Kafka, storing all the underlying key-value data in Redis database.

Start the raft nodes using the following commands (three nodes)

python raft.py -i 1 -a 127.0.0.1:5010
python raft.py -i 2 -a 127.0.0.1:5020 -e 1/127.0.0.1:5010
python raft.py -i 3 -a 127.0.0.1:5030 -e 1/127.0.0.1:5010,2/127.0.0.1:5020

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages