steve0511 / resty-redis-cluster

Openresty lua client for redis cluster.
Apache License 2.0
376 stars 134 forks source link

pool name can not specified #94

Open shuxiao9058 opened 2 years ago

shuxiao9058 commented 2 years ago

as describe below

pool specify a custom name for the connection pool being used. If omitted, then the connection pool name will be generated from the string template ":" or "".

with pool name, cosocket will use a shared connection pool, but slots related specify different Redis node, rather per host & port .

shuxiao9058 commented 2 years ago

refer: https://github.com/openresty/lua-nginx-module#tcpsockconnect