You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for Keyspace Add New Key Notifications #7498
In the current version of Redis, keyspace notifications are based on each command which modifies the state of the keyspace. However, this feature lacks telling users which key will be newly added for a specific db. for instance set command, the user will receive keyspace notification exactly the same no matter key is updated or newly added. Is there any plan for supporting the keyspace add new key notifications? In that case, we might need to add notifyKeyspaceEvent hooks in dbadd functions. thanks!
Thank you for making the request. We'd appreciate it if you could expand more on the actual use-case and/or problem that you're trying to solve with this feature.
@itamarhaber Hello Itamar, thanks for your reply, our use case is the customer wants a monitoring mechanism for Redis keyspace, only if the keyspace size changed like a new key was inserted or old key deleted, a notification message will be sent to tell which key has been inserted/deleted. However, I did not find current this notification is available for Redis, the notification is only for command level. thanks
Activity
itamarhaber commentedon Jul 9, 2020
Hello @daidaotong
Thank you for making the request. We'd appreciate it if you could expand more on the actual use-case and/or problem that you're trying to solve with this feature.
daidaotong commentedon Jul 10, 2020
@itamarhaber Hello Itamar, thanks for your reply, our use case is the customer wants a monitoring mechanism for Redis keyspace, only if the keyspace size changed like a new key was inserted or old key deleted, a notification message will be sent to tell which key has been inserted/deleted. However, I did not find current this notification is available for Redis, the notification is only for command level. thanks