From bb7891f080602fb92197a0f398be71eb7aba9e3c Mon Sep 17 00:00:00 2001 From: Luke Palmer Date: Wed, 13 Apr 2022 04:36:38 -0400 Subject: Keyspace event for new keys (#10512) Add an optional keyspace event when new keys are added to the db. This is useful for applications where clients need to be aware of the redis keyspace. Such an application can SCAN once at startup and then listen for "new" events (plus others associated with DEL, RENAME, etc). --- redis.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'redis.conf') diff --git a/redis.conf b/redis.conf index 34b755718..4fbbaf7e0 100644 --- a/redis.conf +++ b/redis.conf @@ -1827,6 +1827,7 @@ latency-monitor-threshold 0 # z Sorted set commands # x Expired events (events generated every time a key expires) # e Evicted events (events generated when a key is evicted for maxmemory) +# n New key events (Note: not included in the 'A' class) # t Stream commands # d Module key type events # m Key-miss events (Note: It is not included in the 'A' class) -- cgit v1.2.1