Queues: Broken locally when using multip...

Any plans on supporting queues started with multiple dev commands? (https://github.com/cloudflare/workers-sdk/issues/9795)
GitHub
Queues: Broken locally when using multiple dev commands · Issue #9...
What versions & operating system are you using? MacOS latest, node 24, wrangler 4.22.0 Please provide a link to a minimal reproduction https://github.com/astanciu/cf_worker_repro Describe the B...
5 Replies
Unknown User
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
ALECKS
ALECKSOP•3w ago
don't have it lined up for implementation very soon
Sad to hear 😦 In order to match production, to some degreen, we currently implementing this workaround: - producer puts a message on a queue (local queue, that only the producer can consume) - producer consumes their own queue, and on msg sends the msg to via RPC to the target worker - consumer receives message via RPC, then does a send() on their local queue, this way the actual queue() handler gets properly invoked. I don't get how more of your customers using queues aren't having this issue... sending messages between two distinct workers seems like such a basic, first class, feature 😦
Jeffrey Konowitch
Jeffrey Konowitch•3w ago
https://developers.cloudflare.com/queues/configuration/local-development/#separating-producer--consumer-workers Can't you start them both at the same time and produce / consume from different workers?
ALECKS
ALECKSOP•3w ago
no, that doesn't work for a number of reasons, biggest of which are: - workers started with -c -c method aren't individually addressable, the only url you get is the one for the "main" worker - simply does not work for workers using Vite
Jeffrey Konowitch
Jeffrey Konowitch•3w ago
Ahh gotcha

Did you find this page helpful?