riak-scala-client icon indicating copy to clipboard operation
riak-scala-client copied to clipboard

Auto generated keys

Open mordonez-me opened this issue 11 years ago • 3 comments

Is there a way to store a value without setting the key?

mordonez-me avatar May 05 '14 04:05 mordonez-me

Hi. At the moment there is not support for auto-generated keys. Is this an important feature for you? It should not be too hard to add.

agemooij avatar May 05 '14 11:05 agemooij

Hi @agemooij , thanks for the answer, I am using right now Flurry (https://github.com/BazuSports/flurry), if the library could have that kind of uid generation would be awesome.

mordonez-me avatar May 10 '14 23:05 mordonez-me

Could you tell me what is wrong with the keys generated by Riak itself or JVM GUIDs?

Integrating a service client for Flurry seems a bit over the top for my taste. We could add some KeyGenerator hooks (defaulting to Riak native) so you can implement the flurry component yourself. Would that work for you?

agemooij avatar May 31 '14 13:05 agemooij