Redis notification
satan1c
PROOP

2 years ago

How can I, or is it possible to, configure notify-keyspace-events ?

16 Replies

satan1c
PROOP

2 years ago

N/A


brody
EMPLOYEE

2 years ago

How would you normally configure that?


satan1c
PROOP

2 years ago

to set: redis-cli config set notify-keyspace-events KEA
and to check: redis-cli config get notify-keyspace-events


brody
EMPLOYEE

2 years ago

Okay cool, may I ask what's stopping you from doing that?


satan1c
PROOP

2 years ago

idk how can I run redis-cli on railway redis deployment


brody
EMPLOYEE

2 years ago

the same way you'd use the redis cli to connect to any other redis database


satan1c
PROOP

2 years ago

oh, gimme a sec I'll try
cuz until now I doesn't use redis-cli, and connecting only by CacheManager


brody
EMPLOYEE

2 years ago

if cache manager provides you a way to run commands on your database it would work all the same


satan1c
PROOP

2 years ago

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


brody
EMPLOYEE

2 years ago

you would need to enable it with the commands you have given yourself first


satan1c
PROOP

2 years ago

yah, I've done it

1228366852586209300


brody
EMPLOYEE

2 years ago

you need to run the commands you have given yourself to enable that feature


satan1c
PROOP

2 years ago

yep, it seted, I'll test now
will it saved on restarts ? or I'll need to re-type that command after Redis restarts ?


brody
EMPLOYEE

2 years ago

the setting will persist


satan1c
PROOP

2 years ago

yep, now all is fine, thx so much <3


brody
EMPLOYEE

2 years ago

no problem, you really did answer yourself though 😆


Loading...