---
title: "ezgh hosted-queues topics update"
description: "Change a topic."
---

> 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 topics update

{/* 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 topics update <cluster> <topic> [--partitions n] [--replication-factor n] [--config key=value] [--wait] [flags]
```

Change a topic: add partitions (never fewer), raise its replication factor, or set configs; `--config` key= resets one to the cluster's default.

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

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--config` | string, repeatable |  | a topic config, key=value (key= resets it); repeat for more |
| `--partitions` | int |  | more partitions |
| `--replication-factor` | int |  | more copies, up 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](/cli/reference#global-flags).

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