We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文档提到,jraft默认使用rocksDB进行日志存储。是否支持替换为内存,比如java堆内存或者内存型数据库
使用rocksDB进行集群管理,其日志信息不需要做持久化
无
java -version
uname -a
The text was updated successfully, but these errors were encountered:
@yumc1991 抱歉回复的有一些晚了,目前有两个扩展实现(不过要强调一下,我最推荐的还是 rocksdb 的实现,稳定性和性能都有保障): bdb-log-storage-impl
java-log-storage-impl
如果你要使用其中一个,只有把依赖引入你的 pom 即可,是基于 SPI 加载的(参考这里)
如果你想扩展定制自己的 log storage,同样可以参考如上方式
Sorry, something went wrong.
No branches or pull requests
Your question
文档提到,jraft默认使用rocksDB进行日志存储。是否支持替换为内存,比如java堆内存或者内存型数据库
Your scenes
使用rocksDB进行集群管理,其日志信息不需要做持久化
Your advice
无
Environment
java -version
): jdk17uname -a
): centos 7.9The text was updated successfully, but these errors were encountered: