Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

and this is what I mean by the dashboard

and this is what I mean by the dashboard crashing. This happens after clicking on the queue. I see the queue metrics page start to load, then it switches to this less than a second later
No description

Local Development · Cloudflare Queues

Hey, is there any timeline when you plan to support running separate producer and consumer Workers bound to the same Queue locally? Usually you use queues to decouple your application therefore it is quite uncomfortable to not have the same level of local development on queues then on other Cloudflare components. And yes I'm already aware that I can trick this by "wiring" the consumer handler into the worker into the handler of the producer worker using the queue handler function out of the othe...

I thought queues was not working

I thought queues was not working reliably because I was seeing some unprocessed rows in my database from time to time. Actually, I had a try/catch on my consumer worker so I was swallowing the errors myself haha. Turns out I was the unreliable one and queues works great 😂...

Hi, is there a way to find how many

Hi, is there a way to find how many outstanding items/messages are present in a queue? Especially, to use with pull-workers.

I can basically confirm it is *some*

I can basically confirm it is some issue with browser rendering + queues. The only thing I changed was moving the browser rendering logic to a DO and calling that instead of it just being a function in my consumer. The rest of the logic is the same, and I have not had the issue since making that change

hi, i trying to set the cpu ms limit for

hi, i trying to set the cpu ms limit for the worker that run as consumer of a queueu, based on the documentation, it suppose can set a max limit of 15 minutes of cpu run limit, but when i try to set via wrangler or even using the dashboard, both i got is max 30,000 ms only

i suspect this has something to do with

i suspect this has something to do with some request not being completed for some reason, which I was having issues with in the past. Is there a way to tell what it is waiting for?

What does "average backlog" mean? How to

What does "average backlog" mean? How to see the current backlog? I have a queue that can't stop increasing the average backlog no matter what I do, and I'm concerned. It's at concurrency 1 for some reason.
No description

It looks like your consumer Worker is

It looks like your consumer Worker is running into CPU time limits (documented here)

Queues

Multiple queues?

my main app is a pages project, and i

my main app is a pages project, and i have a separate worker for consuming the queue, on the qworker, i have a fetch which accepts the same payload as the queue send. if the origin worker is the same as the consumer worker, the queue works as expected locally, i only send to the fetch if my env is local, otherwise my pages app sends directly to the queue

Is it possible to add multiple messages

Is it possible to add multiple messages to a queue from the dashboard? Seems like no matter what JSON I put in there (even trying to replicate a message batch) it doesn't work

Hello, is there an issue with queues at

Hello, is there an issue with queues at the moment? I've got messages being reported as being in my deadletter, however I can't see them when listing messages and nothing else is reading from the queue 🤔

Hello! I would be interested in FIFO

Hello! I would be interested in FIFO ordering and also interested to know if you are going to support something like AWS SQS Message Group ID? I tried to send an email to [email protected] as specified in the docs (https://developers.cloudflare.com/queues/configuration/javascript-apis/#messagebatch) but that bounced. Thanks!...

Hello - I have a Queue with polling

Hello - I have a Queue with polling client running behind firewall. What is appropriate interval time to poll? I also want to understand cost for this continuous polling....

it looks like it started happening on

it looks like it started happening on october 23rd, around 9pm UTC

I have a queue with batch of size 50 and

I have a queue with batch of size 50 and timeout of 10s. Few questions: 1- If I do .send will msg be processed as soon as it arrives or it will wait for 10s before processing? 2- If a batch of 50 msgs is being processed by consumer and it takes longer than 10s, what happens next, if there are more messages waiting to be processed....

Any plans to support pushing to Queues

Any plans to support pushing to Queues from an external platform direct via the rest API (not via an intermediate Worker)?

thanks for the feedback here! very

thanks for the feedback here! very detailed & agreed that this is a pain point with queues today 🙂 we're thinking about ways to improve this. our plan right now is to add the ability to connect multiple consumers to a single queue. you'll be able to specify partition keys to route specific messages to specific consumers. and ideally this can be dynamic, so you don't have to specify all the rules ahead of time. this project is still in the design phase though, so it's too soon to share timelines. dynamically creating queues doesn't work well today, alas! rather than 1 queue per user, would you be able to setup a few queues as high-priority queues, and setup separate low priority queues? by default, messages get routed to the high priority queues. if a user uploads 10k files at once, you route those messages to the low priority queues so that they don't block each other?...