Is there any way to override riak default property using Scala/Java code?
{riak_kv, [
...,
{storage_backend, riak_kv_memory_backend},
...
]}
Is there any way to override riak default property using Scala/Java code?
{riak_kv, [
...,
{storage_backend, riak_kv_memory_backend},
...
]}
In Riak 1.x changing storage backends can only be performed by changing the configuration and restarting the server. You could read the configuration using Parboiled, Antlr, JavaCC, or whatever parser you are familiar with, then write it back out and restart the server.