You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a Cloudflare Worker to handle queues with the following configuration. The worker successfully processes queue messages in development mode locally. However, when deployed to production, the consumer queue does not execute as expected. The only log output I receive is from the console.log('queue request received', env); in the fetch event, and the consumer queue is not triggered. in queues dashboard messages are being queued. and lastly in production env contains this data to when logging.
(log) queue request received {
OFFLINE_SALES_QUEUE: {},
}
Which Cloudflare product(s) does this pertain to?
Queues
What version(s) of the tool(s) are you using?
Wrangler: 3.73.0, Queues Beta
What version of Node are you using?
20.11.0
What operating system and version are you using?
Windows 11
Describe the Bug
I have created a Cloudflare Worker to handle queues with the following configuration. The worker successfully processes queue messages in development mode locally. However, when deployed to production, the consumer queue does not execute as expected. The only log output I receive is from the console.log('queue request received', env); in the fetch event, and the consumer queue is not triggered. in queues dashboard messages are being queued. and lastly in production env contains this data to when logging.
(log) queue request received {
OFFLINE_SALES_QUEUE: {},
}
index.js File for Queue Handling
wrangler.toml File for Queue Configuration
queues.producers = [
{ queue = "offline-sales-queue", binding = "OFFLINE_SALES_QUEUE" }
]
queues.consumers = [
{ queue = "offline-sales-queue", retry_delay = 60, type = "http_pull", max_retries = 3, max_batch_size = 10, max_batch_timeout = 3 }
]
[env.production]
env.production.queues.producers = [
{ queue = "offline-sales-queue", binding = "OFFLINE_SALES_QUEUE" }
]
env.production.queues.consumers = [
{ queue = "offline-sales-queue", retry_delay = 60, type = "http_pull", max_retries = 3, max_batch_size = 10, max_batch_timeout = 3 }
]
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: