Home > Back-end >  Java through a socket connection to the redis cluster execute commands?
Java through a socket connection to the redis cluster execute commands?

Time:10-22

Java through a socket connection to the redis cluster execute commands?
Socket how to simulate redis - 127.0.0.1 cli - c - h - p 7001?

I want to achieve is similar to redis command issued the implementation of the scheme,
Now need to implement any command can be executed to redis,
Different command with jedis words need to perform in a different way, so I used the socket and redis communication,
Single node is no problem, but can't achieve redis cluster communication,
Dear bosses, how to use the socket connection to the redis cluster?

CodePudding user response:

You said redis cluster is redis cluster, if use redis sentinel sentries way, you can manage multiple machines, exposed a redis address

CodePudding user response:

My side is need to do a redis command publishing tools, the existing database is redis cluster pattern;
I need is to cluster mode connection redis database, then execute the commands,
Thank you bosses, has found a solution on my side,
  • Related