Skip to content

Change sharded PubSub message type to smessage #10748

@leibale

Description

@leibale

With the current implementation of sharded PubSub there is no way to distinguish between "regular" and sharded PubSub messages:

> SUBSCRIBE channel
1) subscribe
2) channel
> SSUBSCRIBE channel
1) ssubscribe
2) channel

> PUBLISH channel message
(integer) 1

1) "message"
2) "channel"
3) "message"

> SPUBLISH channel message
(integer) 1

1) "message"
2) "channel"
3) "message"

Changing "message" to "smessage" will solve the issue, and it follows the same pattern as "message"

> SPUBLISH channel message
(integer) 1

1) "smessage"
2) "channel"
3) "message"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions