joyieldInc / predixy

A high performance and fully featured proxy for redis, support redis sentinel and redis cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

predixy 1.0.5版本支持单节点的Redis吗

lgb861213 opened this issue · comments

您好!
predixy 1.0.5版本支持单节点的Redis吗。
为啥使用predixy连接的时候,可以知悉info。其他命令都无法正常执行下去呢?相关的配置文件如下所示
cat <<EOF |sudo tee /etc/redis/auth.conf
Authority {
Auth "password@" {
Mode admin
}
}
EOF

cat <<EOF |sudo tee /etc/redis/standalone.conf
StandaloneServerPool {
RefreshMethod fixed
Group shard001 {
+ 10.0.21.177:6379
}
}
EOF

cat <<EOF |sudo tee /etc/redis/predixy.conf
Name PredixyExample
WorkerThreads 1
ClientTimeout 300
#set the log file
Log /var/log/predixy.log
LogRotate 1d #每天切分一次
#设置采样频率
LogVerbSample 0 #0表示不输出该级别的日志
LogDebugSample 0 #0表示不输出该级别的日志
LogInfoSample 10000
LogNoticeSample 1
LogWarnSample 1 #启用告警日志输出
LogErrorSample 1 #启用错误日志输出
Include auth.conf
Include standalone.conf #该行指定使用的服务器信息
#Include latency.conf

EOF