Mule Redis connector configuration is not consistent with its document -


recently decided add cache layer our mule apis , redis came scope.

we @ mule3.8.0 , redis connector 4.0.0. , met following issues while configuring:

  • how separate our keys redis db ? not mentioned in document , there 'default partition name' in configuration seems close whatever value put there, seems no effect - db0 containing keys, hence can't have "dev", "qa" , "test" key sets in same redis cluster

  • the redis connector document has example below

    <redis:sorted-set-select-range-by-index config-   ref="redis_configuration" key="my_key" start="0" end="-1" /> 

however when tried samething complains 'end' value should >= 0 hence not usable

  • how configure connection pool redis connector configuration? not mentioned in document again. attribute 'pool config reference' , tried put spring bean ref own jedispoolconfig there, seems no effect, , number of connections remains same no matter value put in bean.

thanks in advance if these issues above

james

how separate our keys redis db ?

you can use redis in cluster mode sharing data (http://redis.io/topics/cluster-tutorial)

i don't think need special configuration in mule.

i think mix partition term in mule , partition term in redis.

regards,


Comments