2 Workers in localhost cannot act as Queues Producer/Consumer: Bug or missing feature?

According to https://developers.cloudflare.com/queues/configuration/local-development/#separating-producer--consumer-workers, I can have one worker as producer and another as consumer. The producer is SvelteKit, the consumer is plain Wrangler. However, my consumer must be accessible on its own local URL, because it contains WebSockets and DO (I can't put them in the producer since SvelteKit doesn't support them). According to https://developers.cloudflare.com/workers/development-testing/multi-workers/, I can use "Multiple dev commands" approach. The problem: Queues doesn't work. Sending from producer: await env.Q.send({...}) but the consumer is not triggered. It works when deployed to Cloudflare, but it's far from ideal during development. What should I do?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?