From cb8fc22c450d1513feaf92d491cf1679d1ff053b Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Thu, 28 Apr 2011 18:04:45 +0300 Subject: [PATCH] + add dedicated section on configurating RJC --- src/docbkx/reference/redis.xml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/src/docbkx/reference/redis.xml b/src/docbkx/reference/redis.xml index 57f27b13a..24c1bb220 100644 --- a/src/docbkx/reference/redis.xml +++ b/src/docbkx/reference/redis.xml @@ -20,7 +20,7 @@ Redis Requirements SDKV requires Redis 2.0 or above (Redis 2.2 is recommended) and Java SE 6.0 or above. In terms of language bindings (or connectors), SDKV integrates with Jedis, - JRedis and RJC, three popular open source Java libraries for Redis. + JRedis and RJC, three popular open source Java libraries for Redis. If you are aware of any other connector that we should be integrating is, please send us feedback. @@ -146,6 +146,36 @@ + +
+ Configuring RJC connector + + RJC is the third, open-source connector supported by SDKV through the + org.springframework.data.keyvalue.redis.connection.rjc package. + + Similar to the other connectors, a typical RJC configuration can looks like this: + + + + + +]]> + + As one can note, the configuration is quite similar to the Jredis or Jedis one. + + Currently, RJC does not have support for binary keys. This forces the RjcConnection to perform encoding internally + (through base64 schema). In practice, this means it's safe to read/write arbitrary data however + the Redis key stored values will differ from the decoded ones, even in the simplest cases, since everything (no matter the format) is encoded. This will not be + the case for Redis values. + This issue is currently being addressed in the RJC project and once fixed, will be incorporated by Spring Data Redis. + + +