-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Is your feature request related to a problem? Please describe.
We run our integration platform on Cloudflare Workers with CF Queues for async processing. Outpost's filtering and subscription management capabilities would be perfect for our event fan-out needs, but we can't deliver events directly to our existing CF Queues infrastructure.
Currently, to get events from Outpost into CF Queues, we'd need to:
- Set up a webhook destination pointing to a CF Worker
- Have that Worker validate and forward to the Queue
This adds an extra network hop, additional Worker invocations (cost), and another failure point in the delivery chain.
Describe the solution you'd like
Add a cloudflare_queues destination type that publishes directly to Cloudflare Queues via the Queues HTTP API.
Configuration fields:
account_id(required) - Cloudflare Account IDqueue_id(required) - Queue ID to publish to
Credential fields:
api_token(required, sensitive) - Cloudflare API Token withqueues:writepermission
API endpoint:
POST https://api.cloudflare.com/client/v4/accounts/{account_id}/queues/{queue_id}/messages
Authorization: Bearer {api_token}
Content-Type: application/json
{
"messages": [{ "body": <event_payload> }]
}
The implementation would follow the existing AWS SQS pattern — both are managed queue services with HTTP APIs.
Describe alternatives you've considered
- Webhook → Worker → Queue proxy: Works but adds latency, cost, and complexity
- AWS SQS or GCP Pub/Sub: Would require moving off Cloudflare infrastructure or running hybrid, adding operational overhead
- Build custom event router: We're evaluating this but would prefer to use Outpost if it supported our infrastructure
Additional context
- Cloudflare Queues is GA as of 2024 and growing in adoption
- Natural fit for users already on Cloudflare Workers (Outpost itself can run on CF Workers)
- Similar complexity to existing AWS SQS destination
- Cloudflare Queues documentation
- Queues HTTP API reference
Metadata
Metadata
Assignees
Labels
Type
Projects
Status