Description
Describe the bug
If using a redis server that does not allow the CONFIG
command, encore fails to start. Many/some commercial managed redis service (azure redis cache, aws redis cache) does not allow the CONFIG
command and therefore can not be used together with encore.
It seems pring data redis uses the CONFIG
command to set the 'notify-keyspace-events' property. In managed redis services, this can usually be configured in some other way, so it would make sense if this behaviour of spring data redis could be disabled.
I will provide a PR to fix this.
To Reproduce
Steps to reproduce the behavior:
- Add
rename-command CONFIG ""
to the config of your redis server - Run encore
- Encore will fail to start
Expected behavior
It should be possible to configure encore to run even if the CONFIG
command is disabled. For correct funcionality this will probably requiring configuring notify-keyspace-events
on the server through some other means.