ledgetech / lua-resty-redis-connector

Connection utilities for lua-resty-redis
234 stars 71 forks source link

Add Sentinel password support #33

Closed rainest closed 4 years ago

rainest commented 4 years ago

Add a new sentinel_password parameter, and send AUTH commands to Sentinels if it is present.

https://github.com/antirez/redis/commit/fa675256c127963c74ea68f8bab22ef105bada02 added authentication support to Sentinel, and this was released to stable in 5.0.1: https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES