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
Copy file name to clipboardExpand all lines: topics/notifications.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,9 +77,10 @@ following table:
77
77
s Set commands
78
78
h Hash commands
79
79
z Sorted set commands
80
+
t Stream commands
80
81
x Expired events (events generated every time a key expires)
81
82
e Evicted events (events generated when a key is evicted for maxmemory)
82
-
A Alias for g$lshzxe, so that the "AKE" string means all the events.
83
+
A Alias for g$lshztxe, so that the "AKE" string means all the events.
83
84
84
85
At least `K` or `E` should be present in the string, otherwise no event
85
86
will be delivered regardless of the rest of the string.
@@ -128,6 +129,14 @@ Different commands generate different kind of events according to the following
128
129
*`ZREMBYSCORE` generates a single `zrembyscore` event. When the resulting sorted set is empty and the key is generated, an additional `del` event is generated.
129
130
*`ZREMBYRANK` generates a single `zrembyrank` event. When the resulting sorted set is empty and the key is generated, an additional `del` event is generated.
130
131
*`ZINTERSTORE` and `ZUNIONSTORE` respectively generate `zinterstore` and `zunionstore` events. In the special case the resulting sorted set is empty, and the key where the result is stored already exists, a `del` event is generated since the key is removed.
132
+
*`XADD` generates an `xadd` event, possibly followed an `xtrim` event when used with the `MAXLEN` subcommand.
133
+
*`XDEL` generates a single `xdel` event even when multiple entries are are deleted.
134
+
*`XGROUP CREATE` generates an `xgroup-create` event.
135
+
*`XGROUP DELCONSUMER` generates an `xgroup-delconsumer` event.
136
+
*`XGROUP DESTROY` generates an `xgroup-destroy` event.
137
+
*`XGROUP SETID` generates an `xgroup-setid` event.
138
+
*`XSETID` generates an `xsetid` event.
139
+
*`XTRIM` generates an `xtrim` event.
131
140
* Every time a key with a time to live associated is removed from the data set because it expired, an `expired` event is generated.
132
141
* Every time a key is evicted from the data set in order to free memory as a result of the `maxmemory` policy, an `evicted` event is generated.
0 commit comments