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

Hi! I deleted a bunch of R2 bucket

Hi! I deleted a bunch of R2 bucket notifications & buckets but I can not delete the queue that was referenced. I always receive the error "cannot delete queue bucketav-rhyglnin that serves as a target for event notifications". I have no buckets left so this is likely not the case. Are there any reqasons for that? Is there something happening in the background before I can delete the queue? If I look at the queue in the dashboard it says "This queue does not have a consumer". Clicking the delete...

Hi! Has anyone seen CPU Execution

Hi! Has anyone seen CPU Execution timeout on queue consumer event? In the worker limits docs they say the limit is 15 minutes of CPU time. But I always get timeout after 32,000ms (according to the worker cpu time dashboard). I could work around that, but I'd like to know if the docs are wrong or if it's a bug on my or CF side.

It does't seem like the messages get

It does't seem like the messages get redelivered when calling message.retry() with local wrangler dev?

Hi, new to queues. I'm doing this:

Hi, new to queues. I'm doing this: ```ts await env.queue.send( data, { delaySeconds: 42300, contentType: "json" }...

I think I might be seeing some messages

I think I might be seeing some messages dropped from my queue? Some final data in our db is missing and I traced it back to this. Cloudflare dashboard shows 321 messages successfully delivered Logpush logs only show 313 events from that queue ...

Hey team, whats up?

Hey team, whats up? I have a use case for queues and want to know if my logic is correct: - I have a producer that posts around 500 messages at once on the queue, using batches of 25 messages - All batches are delayed incrementally until the last batch on increments of 30 seconds each batch (first batch for 0 seconds, the second for 30 seconds, the third for 60 seconds...)...

Is there a way to force a queue to

Is there a way to force a queue to increase concurrency, or to set a minimum concurrency? I'm seeing the following behaviour now: I have a queue where only once every 1-5 minutes, a message is queued. A message takes about 30 seconds wall time to be processed. Maximum consumer concurrency is on default....

Ideally queues could allows us to list

Ideally queues could allows us to list pending messages

Hey people!

Hey people! When developing locally, I have configured my queue with following retry timeouts and counts: ``` max_retries = 10, ...

Hi, how do I deal with queue consumer

Hi, how do I deal with queue consumer timeout issue? i.e. make sure queue consumer completed the task with payload? Is there anyway to have queue retry calling consumer unless consumer explicitly acknowledge the payload was processed susessfully?

Please can I provide some feedback/

Please can I provide some feedback/feature requests for cloudflare queues Firstly the dev experience inside workers is pretty great! It would be awesome if it could work with Pages functions so I don't have to deploy separate consumers but thats a nit really. The metrics in the dashboard are useful but its missing the main one for me, how many messages are in the queue at that point in time, especially important for deadletters...

Hi everyone, I like the worker and queue

Hi everyone, I like the worker and queue features in cloudflare, and been trying out about few weeks already. I got a question, I noticed the consumer for the queue, after some time (like 2 days), it will stop processing the queue message. (the backlog size increase and doesnt get consume) I attached the screenshot on the consumer setting, is this a bug or is just because of my consumer setting?...
No description

By manually sharding, you mean to have 2

By manually sharding, you mean to have 2 or more queues for the same task? Like NotificationsQueue0, NotificationsQueue1 and enque in a round-robin manner ?...

Metrics · Cloudflare Queues

Hey team ! I hope you're doing great ? Is there an API to see how many data are remaining in the queue ? I only found this: - https://developers.cloudflare.com/queues/observability/metrics/ ...

So I see that we can have 10,000 queues

So I see that we can have 10,000 queues per account enabling easy sharding:
More queues per account - up to 10,000 Developers building on Queues can now create up to 10,000 queues per account, enabling easier per-user, per-job and sharding use-cases. ...

Since I seem to have a similar problem,

Since I seem to have a similar problem, i'm also sending my IDs in case it helps Queue: 26149965a00b4a65a047794b2a28b3f2 Account: 978f7d8fe0d7c314743586a46e505f14...

hey guys, I'm using cf queue, but I'm

hey guys, I'm using cf queue, but I'm experiencing some delay to delivery the message, after publishing the message in the queue, the worker starts to process it after +30s. Do you have any idea about it?

Anyone notice that when using "List

Anyone notice that when using "List messages" for a queue in the dashboard, it never seems to respect the "Maximum batch size" entered there? E.g. if I enter "50" it returns 10 messages (when >50 are in the backlog), and if I enter "1" it returns 10 messages.

Hi @Pranshu Maheshwari. How are you

Hi @Pranshu Maheshwari. How are you doing? The push based should, but it doesn't 😦 My currently workaround is to have 10 producers and consumers and distribute between then...