Reputation: 65
With Disque, is it possible to deliver a message to all clients listening on a specific queue in a fan-out fashion?
Upvotes: 0
Views: 70
Reputation: 890
That's not possible with Disque. You can grab a job and tell Disque to enqueue it again, thus giving other clients the chance to grab it, but that would be more an abuse of how Disque is designed, and it would be very complex to coordinate how the clients react when they grab a job they already processed.
For your use case, you can take a look at the pub/sub feature in Redis.
Upvotes: 0