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

Add support for RedisInsight Client

Dando-Real-ITA opened this issue · comments

The new Redis Insight GUI client developed by redis is unable to connect to the proxy.
The errors I see in the proxy logs are for missing commands that the client issues at connection, and I tried to pass them using command.conf:

CustomCommand {
  client {
    Mode write
    MinArgs 2
    MaxArgs 6
  }

  module {
    Mode write
    MinArgs 2
    MaxArgs 6
  }

  cluster {
    Mode write
    MinArgs 2
    MaxArgs 6
  }

  sentinel {
    Mode write
    MinArgs 2
    MaxArgs 6
  }

}

But does not seem enough.

Update, the new version 2.14 of Redis Insight can load UI, however cannot display the keys because it requires commands memory and dbsize that even if added manually to command.conf, don't work because command.conf does not accept MinArgs 1 commands.

I am using a custom fork to support some of the commands directly in Command.cpp