ezgh hosted-queues topics create <cluster> <name> [--partitions n] [--replication-factor n] [--config key=value] [--wait] [flags]Create a topic. Partitions and the replication factor default to the cluster’s; --config sets topic configs (retention.ms, retention.bytes, cleanup.policy, min.insync.replicas, max.message.bytes, compression.type, segment.bytes).
Part of ezgh hosted-queues topics.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--config |
string, repeatable | a topic config, key=value; repeat for more | |
--partitions |
int | partitions, 1 to 1,000 | |
--replication-factor |
int | copies, 1 to the cluster’s nodes | |
--wait |
boolean | wait until it’s done | |
--wait-timeout |
duration | 10m0s |
how long --wait waits |
This command also takes the global flags.