Skip to content

[Feature Request] Support local pull-based queue consumption in wrangler dev #9665

@ItsWendell

Description

@ItsWendell

Describe the solution

There is a gap in local features for developers who utilize pull-based queue consumers. While it is possible to configure a queue for pull-based consumption in wrangler's configuration, there is no local endpoint or mechanism provided by wrangler dev to simulate the pulling of messages from the queue. To utilize pull-based queue's and iterate in it's functionally, we'd have to deploy an preview worker each time, since remote mode or mixed-mode is listed as known problems.

A similar method to how triggering jobs works might be a great approach, exposing a local endpoint that emulates the Cloudflare Queues pull API (e.g., http://localhost:<port>/<queue_name>/pull). This would allow us to write and test workers that act as manual / pull queue consumers fully locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestqueuesRelating to queues

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions