• Hanna Fadida's avatar
    Modules: adding a module type for key space notification (#8759) · 53a4d6c3
    Hanna Fadida authored
    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.
    53a4d6c3
notify.c 5.93 KB