-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Where Redis Streams allow Symfony Messenger to divide work across multiple consumers, Redis Pub/Sub would allow Symfony Messenger to spread one message to all consumers. See https://redis.io/docs/manual/pubsub/
Did you consider implementing pub/sub on the adapter as well?
Our use-case:
- A cronjob triggers the generation of a huge xml file.
- A container does the processing for that on the background in another container.
- Once the background processing is finished, that background container needs to make the frontend facing containers (4 of them) aware that they should download the xml file to their local container.
Having pub/sub in Symfony Messenger would allow us to simply add an extra transport that is configured as pub/sub to make the last step of the use-case possible.
Metadata
Metadata
Assignees
Labels
No labels