I am using secondary indexes with Redis thanks to Spring Data Redis @Indexed
annotations. My entry has a TTL.
This has a side effect of keeping the indexes after the expiration of the main entry. This is expected, and Spring can listen to keyspace expiry events to remove those indexes once the main TTL is done.
However, enabling the listening to keyspace expiry events with Spring, I face the following error at startup:
ERR unknown command 'CONFIG'
This is how I configured the listener:
@EnableRedisRepositories(enableKeyspaceEvents = EnableKeyspaceEvents.ON_STARTUP)
What can I do to make this work?