Cloudflare Queue

A managed, guaranteed-delivery message queue for Cloudflare Workers, with an optional push (Worker) or pull (HTTP) consumer.

What Gets Created

  • A cloudflare_queue with optional delivery settings.
  • When consumer is set, a cloudflare_queue_consumer (provisioned separately so toggling it never recreates the queue).

Prerequisites

  • A Cloudflare account ID.
  • For a worker consumer, a Worker script to consume the queue.

Configuration Reference

Required

  • accountId — Cloudflare account ID.
  • queueName — the queue name.

Optional

  • settings.deliveryDelay, settings.deliveryPaused, settings.messageRetentionPeriod.
  • consumer.type (worker | http_pull), consumer.scriptName, consumer.deadLetterQueue, and consumer.settings.*.

Stack Outputs

OutputDescription
queue_idThe queue ID
queue_nameThe queue name
created_onCreation timestamp
modified_onLast-modified timestamp
  • CloudflareWorker
  • CloudflareR2Bucket

Next article

Cloudflare R2 Bucket

Cloudflare R2 Bucket Deploys a Cloudflare R2 object storage bucket together with its bucket-scoped configuration: location and jurisdiction, default storage class, managed (r2.dev) public access, custom domains, CORS, object lifecycle, and object lock. Custom domains integrate with CloudflareDnsZone via foreign-key references. What Gets Created When you deploy a CloudflareR2Bucket resource, OpenMCF provisions: R2 Bucket — a cloudflarer2bucket in the specified account, with the configured...
Read next article