Skip to content

Support pub/sub "messenger like" #236

@mpoiriert

Description

@mpoiriert

We want to add a pub/sub component (on top of messenger ?) that would allow to "dispatch" a message and be consume by different "worker".

Goal is to broadcast a message to a cluster of server and all those server will execute it.

A use case could be to regenerate a file cache entry after something to change in a CMS.

One of the project is using a custom implementation base on "enqueue/enqueue" and we want to have something more resembling "symfony/messenger".

Enqueu is a bit too low level, using string/json a the message instead of using php object.

Best result would be to have a specif queue in messenger that way it would be completely seamless but have a different "component" that would have it's on configuration is ok if too complex/impossible to do in messenger.

Having redis as the first adapter and only adapter for now is ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions