A toy implementation of raft for consensus in Java using gRPC and RocksDB based on these blogposts.
Compile the project:
mvn clean compile -DskipTests
To enable persistence with RocksDB set the USE_DISK flag to true in RaftConfiguration. However, this makes some tests fail if not run one by one.