agemooij / riak-scala-client

An easy to use, non-blocking, fast Scala client library for interacting with Riak.
http://riak.scalapenos.com/
Apache License 2.0
84 stars 24 forks source link

support multiple backend #38

Closed seoh closed 8 years ago

seoh commented 8 years ago

I use Riak with multiple backend(persistence and cached). but riak-scala-client has no way for backend selector. I implements a quick way, but I think there is a better way to open RiakBucketProperty(without seal). How do you think about this?

Sorry for my poor English and thanks for your patience.

seoh commented 8 years ago

Sorry, I did not know about specification.

ajantis commented 8 years ago

Hi @seoh,

Thanks for the pull request! :)

It would be useful to have support for backend property ( and some other available props as well http://docs.basho.com/riak/latest/dev/references/http/set-bucket-props/ ). The only thing that it should be optional, I guess.

And yes, we will need to add some tests (in RiakBucketPropertiesSpec).

Best regards, Dmitry