Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 475 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 475 Bytes

redis-sentinel-proxy

Small command utility that:

  • Given a redis sentinel server listening on SENTINEL_PORT, keeps asking it for the address of a master named NAME

  • Proxies all tcp requests that it receives on PORT to that master

Usage:

./redis-sentinel-proxy -listen IP:PORT -sentinel :SENTINEL_PORT -master NAME --resolve-retries 10

testing

  • install docker and docker-compose.
  • run make tests-unit tests-intergration