commit | e5afeffa24a22decb7c7731d96e4960bf8af2eaa | [log] [tgz] |
---|---|---|
author | serkant.uluderya <serkant.uluderya@netsia.com> | Tue Feb 23 18:00:23 2021 +0300 |
committer | serkantul <serkant.uluderya@netsia.com> | Sat Apr 09 22:58:48 2022 +0300 |
tree | 91513b2eb8c18caefcada779310d0bc1653e01c5 | |
parent | d85e52bd90977335cb240ff9cefe1c8587c8a918 [diff] |
[VOL-3860] redis client support in voltha-lib-go redis client support has been added in this patch. There are two types client `redis` and `redis-sentinel` to connect a redis instance. redis-sentinel is required to be able to find the master redis instance from a redis-sentinel process. See redis-sentinel usage https://redis.io/topics/sentinel and https://pkg.go.dev/github.com/go-redis/redis/v8#NewFailoverClient for more information. If there is no need to have any failover mechanism then the redis client type is the option to choose. Change-Id: I997ed92115a9d565df632c6dd8184b9bab77b991