summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorHanna Fadida <hanna.fadida@redislabs.com>2021-04-19 21:33:26 +0300
committerGitHub <noreply@github.com>2021-04-19 21:33:26 +0300
commit53a4d6c3b152a9aa6386c2362400b258cec09ed3 (patch)
tree7ab3ed530bc67cf90d2f8a2ed504f52b043dc243 /redis.conf
parentf40ca9cb58049683b563245006892001a5ebfacd (diff)
downloadredis-53a4d6c3b152a9aa6386c2362400b258cec09ed3.tar.gz
Modules: adding a module type for key space notification (#8759)
Adding a new type mask ​for key space notification, REDISMODULE_NOTIFY_MODULE, to enable unique notifications from commands on REDISMODULE_KEYTYPE_MODULE type keys (which is currently unsupported). Modules can subscribe to a module key keyspace notification by RM_SubscribeToKeyspaceEvents, and clients by notify-keyspace-events of redis.conf or via the CONFIG SET, with the characters 'd' or 'A' (REDISMODULE_NOTIFY_MODULE type mask is part of the '**A**ll' notation for key space notifications). Refactor: move some pubsub test infra from pubsub.tcl to util.tcl to be re-used by other tests.
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis.conf b/redis.conf
index a7bfec83e..e8eff2774 100644
--- a/redis.conf
+++ b/redis.conf
@@ -1623,8 +1623,9 @@ latency-monitor-threshold 0
# x Expired events (events generated every time a key expires)
# e Evicted events (events generated when a key is evicted for maxmemory)
# t Stream commands
+# d Module key type events
# m Key-miss events (Note: It is not included in the 'A' class)
-# A Alias for g$lshzxet, so that the "AKE" string means all the events
+# A Alias for g$lshzxetd, so that the "AKE" string means all the events
# (Except key-miss events which are excluded from 'A' due to their
# unique nature).
#