Skip to content
/ jraft Public

Raft consensus and replicated log implementation in modern Java

License

Notifications You must be signed in to change notification settings

mstepan/jraft

Repository files navigation

Raft protocol implementation in Java

Build & run

Standard maven

  • Build self-executable jar file
./mvnw clean package
  • Run application Pay attention that we also need to provide --enable-preview during runtime because we have used Structured Concurrency which is in a preview mode for java 23.
./run1.sh

./run2.sh

./run3.sh

Native image <-- NOT WORKING, requires logback replacement for native build

About

Raft consensus and replicated log implementation in modern Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published