Raft Consensus Protocol Implementation in Java