Small command utility that:
-
Given a redis sentinel server listening on
SENTINEL_PORT
, keeps asking it for the address of a master namedNAME
-
Proxies all tcp requests that it receives on
PORT
to that master
Usage:
./redis-sentinel-proxy -listen IP:PORT -sentinel :SENTINEL_PORT -master NAME