/docker-redis-ex

The docker redis, enabling the redis keyspace notifications with Ex.

Primary LanguageDockerfileDo What The F*ck You Want To Public LicenseWTFPL

docker-redis-ex

The docker redis, enabling the redis keyspace notifications with Ex.

Why need this

It's useful when you want to implement a delay job with the SETEX command.

Get image

docker pull benjamin658/docker-redis-ex:4.0

Build image

docker build -t docker-redis-ex .

Redis Keyspace Notifications

K     Keyspace events, published with __keyspace@<db>__ prefix.
E     Keyevent events, published with __keyevent@<db>__ prefix.
g     Generic commands (non-type specific) like DEL, EXPIRE, RENAME, ...
$     String commands
l     List commands
s     Set commands
h     Hash commands
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)
A     Alias for g$lshzxe, so that the "AKE" string means all the events.

License

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.