You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. REDIS_CONNECTION_STRING is one property of GetRedis. In this project, its description goes that
"The Connection String to use in order to connect to Redis. This is often a comma-separated list of <host>:<port>combinations. For example, host1:2181,host2:2181,host3:2188".
I try to fill this property with "192.168.203.18:6379" but it does not work. When I glance at the source code, I find following things:
@OnScheduled
public void createRedisPool(final ProcessContext context) {
jedisPool = new JedisPool(new JedisPoolConfig(), context.getProperty(REDIS_CONNECTION_STRING).getValue());
}
Description of this method comes that
[Maven: redis.clients:jedis:2.7.2] redis.clients.jedis JedisPool
public JedisPool (GenericObjectPoolConfig poolConfig, String host)
So in my opinion, this property should be defined in this way —— "Single host, for example 192.168.203.18".
Am I right?
The text was updated successfully, but these errors were encountered:
Hi.
REDIS_CONNECTION_STRING
is one property ofGetRedis
. In this project, its description goes thatI try to fill this property with
"192.168.203.18:6379"
but it does not work. When I glance at the source code, I find following things:Description of this method comes that
So in my opinion, this property should be defined in this way —— "Single host, for example 192.168.203.18".
Am I right?
The text was updated successfully, but these errors were encountered: