kewbish
CDCloudflare Developers
•Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
webhook.site is just a free site that lets you generate URLs to fetch and that logs all requests coming in. You can use it to check if your consumer is running, since if the webhook shows it's been fetched then your consumer has run.
You can go to webhook.site and copy 'Your unique URL', then as the very first part of your
queue
handler, you can try doing something like:
Then when you send some messages to your Queue, you can check the webhook page to see if any requests have been made. If there have been requests, your consumer's been called.24 replies
CDCloudflare Developers
•Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
Have you tried adding a fetch out to a webhook site? That'd probably be the easiest way to know for certain if your consumer is running or not.
24 replies
CDCloudflare Developers
•Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
I don't think you can filter tails just to the Queue events IIRC, but you should be tailing the right thing. It's probably just that your endpoints are getting hit much more frequently than your consumer is being called.
24 replies
CDCloudflare Developers
•Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
I don't believe you'd see the data being consumed unless you log it out!
24 replies
CDCloudflare Developers
•Created by Shirokawa on 8/8/2023 in #queues
Any updates on when Queues might come
^ The bug's being investigated and we'll get back if we find a repro/cause.
12 replies
CDCloudflare Developers
•Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
Hi, just circling back here. You mentioned your per-message log is never being run - does it have some external side effects that you'd be able to see (does it call an external API for example?) Another idea you could try is adding a fetch to something like webhook.site when you loop over each message. If calls to the webhook are made, the logic is running (and we just have a bug in
wrangler tail
), but if they're not made then there's something else going on.24 replies