Redis notification
How can I, or is it possible to, configure notify-keyspace-events ?
Solution:Jump to solution
to set:
redis-cli config set notify-keyspace-events KEA
and to check: redis-cli config get notify-keyspace-events
...17 Replies
Project ID:
N/A
N/A
How would you normally configure that?
Solution
to set:
redis-cli config set notify-keyspace-events KEA
and to check: redis-cli config get notify-keyspace-events
Okay cool, may I ask what's stopping you from doing that?
idk how can I run redis-cli on railway redis deployment
the same way you'd use the redis cli to connect to any other redis database
oh, gimme a sec I'll try
cuz until now I doesn't use redis-cli, and connecting only by CacheManager
if cache manager provides you a way to run commands on your database it would work all the same
unfortunately not, I've come after it's comment:
Make sure that all servers are configured correctly and 'notify-keyspace-events' is at least set to 'Exe', otherwise CacheManager will not retrieve any events
you would need to enable it with the commands you have given yourself first
yah, I've done it
you need to run the commands you have given yourself to enable that feature
yep, it seted, I'll test now
will it saved on restarts ? or I'll need to re-type that command after Redis restarts ?
the setting will persist
yep, now all is fine, thx so much <3
no problem, you really did answer yourself though 😆