---
title: "ezgh hosted-queues queues create"
description: "Create a queue."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh hosted-queues queues create

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh hosted-queues queues create <cluster> <name> [--vhost v] [--type t] [--durable=false] [--arguments json] [--wait] [flags]
```

Create a queue in a vhost. New queues are quorum queues unless `--type` (quorum, classic or stream) or the vhost's default says otherwise. Celery 5.5 and later needs task_default_queue_type = "quorum" for quorum queues.

Part of [`ezgh hosted-queues queues`](/cli/reference/hosted-queues-queues).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--arguments` | string |  | queue arguments as a JSON object, such as &#123;"x-max-length": 10000&#125; |
| `--durable` | boolean | `true` | survive a broker restart (`--durable=false` for transient) |
| `--type` | string |  | quorum, classic or stream (default the vhost's) |
| `--vhost` | string | `/` | the vhost it's in (/ is the default vhost) |
| `--wait` | boolean |  | wait until it's done |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/hosted-queues-queues-create/index.mdx
