Skip to content

Competing consumers for "Keyspace Notifications" #2057

Open

Description

@refaelos

Does anyone know if there's a way to have only ONE consumer get Keyspace Notifications ?
The way it's implemented today is that it uses the pub/sub mechanism and all subscribers get each event.
related to #202

Activity

  1. badboy commented on Oct 11, 2014

    @badboy
    Contributor

    As you mention yourself, keyspace notifications use the usual pubsub interface. And as the discussion in the mentioned issue points out, what you want is not possible with pubsub.

    Therefore, no, one and only one receiver for the keyspace notifications is not possible.

  2. refaelos commented on Oct 11, 2014

    @refaelos
    Author

    Thanks @badboy
    What you wrote I already know. It's just interesting to me if the guys at redis are thinking about it and maybe have a workaround or another solution.

  3. andrascz commented on Apr 28, 2020

    @andrascz

    Whoever ends up here take a look at #5766

  4. yoav-steinberg commented on Oct 20, 2021

    @yoav-steinberg
    Contributor

    I'd like to close this as it's clear that #5766 is the way we're going to handle it. Marking to be closed.

  5. added
    state:to-be-closed
    on Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:to-be-closed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions