Skip to main content

create

create a queue

Create a SphereQueue queue in an environment: a RabbitMQ broker of your own.

Pick a size with --instance-type, by name or id (see csph queue instance-types). A size whose id ends in -ha runs across three zones with quorum queues. The user name (app) and password are generated; the virtual host is /.

Usage​

csph queue create <name> [flags]

Options​

Command Specific​

--engine <string> (default "rabbitmq")

queue engine
--environment <string>
environment ID
--instance-type <string>
size by name or id, e.g. "Queue 1" or sq-1c-2g-s20g (see csph queue instance-types)
--project <string>
project ID
--version <string>
engine version, e.g. 4.3 (default: the latest)

Formatting​

For more information about formatting options, see Formatting.

-o, --output <string>

output format: [table|plain|csv|json|yaml]

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

Examples​

  csph queue create jobs --instance-type "Queue 1"
csph queue create jobs --instance-type sq-1c-2g-s20g-ha
csph queue create jobs --instance-type "Queue 1" --engine rabbitmq --version 4.3

See also​