Skip to content

[FEATURE] Is there support for adding a Queue consumer worker to opennextjs cloudflare project. #589

Closed
@Ryan-Adami

Description

@Ryan-Adami

Is your feature request related to a problem?

In projects using Opennextjs deployed on Cloudflare Workers, there is currently no native support or documentation for integrating Cloudflare Queues with dedicated consumer Workers. This makes it difficult to build background processing systems such as email sending, webhook handling, or long-running jobs, which are often essential for modern web apps.

Describe the solution you'd like

I’d like OpenNext to support defining and deploying separate Queue consumer Workers within the same project.

Describe alternatives you've considered

Manually creating a separate Worker in a different directory outside of OpenNext, then deploying it separately with wrangler. This works, but introduces duplication and breaks cohesion in the app.

@opennextjs/cloudflare version

1.0

Additional context

No response

Before submitting

  • I have checked that there isn't already a similar feature request
  • This is a single feature (not multiple features in one request)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions