A RAFT implementation to help build your RAFT service in 1 minute.
[Note that this project is now WORKING IN PROGRESS. We are going to release 0.1.0 soon.]
- bazel: for building tool
- asio: for asynchronous eventloop and IO
- grpc: for RPC framework
- protobuf: for serialization framework
- gtest: for test framework
- spdlog: for logging tool
- gflags: for command line tool
We are now using bazel 5.1.1 for building raftcpp
project, please make sure you have installed bazel. If you don't have installed it, you could install it via the following command:
./scripts/install-bazel.sh
bazel build //:all
bazel test //:all
or test one specific test case in following command:
bazel test //:xxxx_test
Because this project is working in progress now, we are very welcome you if you have the willing to contribute any thing.
- Open issue to feedback issues or create pull request for your code changes.
- After your code changed, maybe a unit test is necessary.
- Run
./scripts/code-format.sh
to format your code style. - Review, then merge.