andyy
andyy
CDCloudflare Developers
Created by andyy on 6/27/2024 in #queues
Hi again! Is it possible to test pull
.. as far as I can tell nothing is supported directly - but it seems relatively straightforward to implement a basic emulator by adding a dev-mode-only queue consumer and ../messages/pull HTTP route to the worker to save and retrieve messages from a global Set within the worker running locally. Curious if there's a better way, but seems this will do the trick for now!
1 replies
CDCloudflare Developers
Created by andyy on 6/26/2024 in #queues
is there any kind of queue bindings-per-
(Sharing back that I subsequently stumbled across the answer from Leo documented under the docs for D1: "A single Worker script can have up to 1 MB of script metadata. A binding is defined as a binding to a resource, such as a D1 database, KV namespace, environmental variable or secret. Each resource binding is approximately 150-bytes, however environmental variables and secrets are controlled by the size of the value you provide. Excluding environmental variables, you can bind up to ~5,000 D1 databases to a single Worker script." - https://developers.cloudflare.com/d1/platform/limits/)
1 replies