Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法使用 Scala/Java 代码覆盖 riak 默认属性?
{riak_kv, [ ..., {storage_backend, riak_kv_memory_backend}, ... ]}
在 Riak 1.x 中,更改存储后端只能通过更改配置和重新启动服务器来执行。您可以使用 Parboiled、Antlr、JavaCC 或任何您熟悉的解析器读取配置,然后将其写回并重新启动服务器。