Skip to content

Redislabs-Solution-Architects/redconn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RedConn

Build

git clone https://github.com/Redislabs-Solution-Architects/redconn.git
cd redconn
mvn clean install

Run

Without SSL

java -jar target/redconn-0.0.1-SNAPSHOT.jar --host=redis-12000.demo.redislabs.com --port=12000 --password=<password> --timeout=500

With SSL

java -Djavax.net.ssl.trustStore=/path/to/truststore.jks -Djavax.net.ssl.trustStoreType=jks -Djavax.net.ssl.trustStorePassword=<password> -Djavax.net.ssl.keyStore=/path/to/keystore.p12 -Djavax.net.ssl.keyStoreType=pkcs12 -Djavax.net.ssl.keyStorePassword=<password> -jar target/redconn-0.0.1-SNAPSHOT.jar --host=redis-12000.demo.redislabs.com --port=12000 --password=<password> --ssl=true --timeout=500

Configuration

Property Description Default

driver

Driver to use (jedis or lettuce)

jedis

host

Redis database host name

localhost

port

Redis database port

6379

ssl

Enable SSL support

false

password

Redis database password

none

timeout

Redis connection timeout

2000 milliseconds

socketTimeout

Redis socket timeout

2000 milliseconds

tcpKeepIdle

Lettuce only. Redis connection tcp_keepalive_time

10 seconds

tcpKeepIntvl

Lettuce only. Redis connection tcp_keepalive_intvl

1

tcpKeepCnt

Lettuce only. Redis connection tcp_keepalive_probes.

2

tcpUserTimeout

Lettuce/Linux only. Redis connection TCP_USER_TIMEOUT

10 seconds

client-name

Jedis client name

redconn

dns-ttl

Number of seconds to cache a successful name service lookup used for jedis

0

dns-negative-ttl

Number of seconds to cache a unsuccessful name service lookup used for jedis

0

About

Connectivity and failover tester for Redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages