Yes, my RiakRestClient creates a random client id and also allows the
developer to set one. I did not know, though, that there were special
optimizations for Base64 encoding of a byte[4]. I will change the code to
reflect that. Why would you need a different clientId for each thread
though? Not
Jon, my apologies, didn't mean to put words in your mouth :-)
I guess you could put a template abstraction in front of your client, but
like I said, the typing is a little weird to accommodate Groovy. So, if
someone needed to use the client directly, it might be a little difficult
for them in pur
On Mar 29, 2011, at 12:28 AM, Rexxe wrote:
> I started to use Riak using the spring-data project but found that their API
> was lacking and had serious issues with strict typing. It turns out that the
> Java API they've built is pretty much being built just so it works in
> Grails/Groovy.
A
On 29 Mar 2011, at 10:02, Kresten Krab Thorup wrote:
> One thing, which is often missed by newcomers to Riak [I'm not saying you
> missed it], is the importance of managing client IDs, and passing the right
> vector clocks back to the server.
>
> { Basho'ers ... please corret me if I'm wrong
One thing, which is often missed by newcomers to Riak [I'm not saying you
missed it], is the importance of managing client IDs, and passing the right
vector clocks back to the server.
{ Basho'ers ... please corret me if I'm wrong }
Kresten
So, Rule#1 (which has two clauses), which you can
Yes, Jackson is being used to do the marshalling if it's a bean, but I am
using Spring's RestTemplate, which decides whether to use Jackson or some
other basic marshalling (e.g. byte[] or String, etc.). This allows me to
deal with responses that come back from Riak that are not in JSON (e.g.
mixed
On 29 Mar 2011, at 06:28, Rexxe wrote:
> Hello,
>
> I am new to Riak and the mailing list. I started to use Riak using the
> spring-data project but found that their API was lacking and had serious
> issues with strict typing. It turns out that the Java API they've built is
> pretty much be
Hello,
I am new to Riak and the mailing list. I started to use Riak using the
spring-data project but found that their API was lacking and had serious
issues with strict typing. It turns out that the Java API they've built is
pretty much being built just so it works in Grails/Groovy. So, I star