git clone https://github.com/Redislabs-Solution-Architects/redconn.git cd redconn mvn clean install
java -jar target/redconn-0.0.1-SNAPSHOT.jar --host=redis-12000.demo.redislabs.com --port=12000 --password=<password> --timeout=500
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
Property | Description | Default |
---|---|---|
|
Driver to use ( |
|
|
Redis database host name |
|
|
Redis database port |
|
|
Enable SSL support |
|
|
Redis database password |
none |
|
Redis connection timeout |
|
|
Redis socket timeout |
|
|
Lettuce only. Redis connection tcp_keepalive_time |
|
|
Lettuce only. Redis connection tcp_keepalive_intvl |
|
|
Lettuce only. Redis connection tcp_keepalive_probes. |
|
|
Lettuce/Linux only. Redis connection TCP_USER_TIMEOUT |
|
|
Jedis client name |
|
|
Number of seconds to cache a successful name service lookup used for jedis |
|
|
Number of seconds to cache a unsuccessful name service lookup used for jedis |
|