generating an object key in the erlang client

Dan Reverri dan at
Fri Mar 11 12:11:36 EST 2011

Hi Saurabh,

The protocols buffers interface does not currently support server side
generated keys. Bug 485 has been filed for this issue:

In the mean time you can generate a unique key on the client side. You can
use the code on the server side as a reference for generating unique keys:


Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
dan at

On Thu, Mar 10, 2011 at 10:37 PM, Saurabh Sehgal <saurabh.r.s at>wrote:

> Hi,
> I was going through riak's documentation and I saw that through the rest
> API, if a key for an object is not specified, riak generates one for you.
> Can I do the same when storing objects through the riak erlang pb
> client programmatically ?
> Thank you,
> Saurabh
> --
> Saurabh Sehgal
> E-mail:     saurabh.r.s at
> Phone:     425-269-1324
> LinkedIn:
> _______________________________________________
> riak-users mailing list
> riak-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list