---
title: Update
url: https://docs.vultr.com/reference/vultr-cli/database/topic/update
description: Modifies configuration settings for a specified Kafka topic within a Vultr managed database instance.
publish_date: 2025-09-14T03:04:37.572433Z
last_updated: 2025-11-07T17:44:08.062344Z
---

The `vultr-cli database topic update` command modifies configuration settings for an existing Kafka topic within a Vultr managed database instance, allowing you to adjust topic properties as needed.

## Usage

```console
$ vultr-cli database topic update <Database ID> <Topic Name> [flags]
```

## Flags
| Shorthand | Long Version | Description |
|-----------|--------------|-------------|
| -p | --partitions | partitions for the managed database topic |
| -r | --replication | replication factor for the managed database topic |
| - | --retention-bytes | retention bytes for the managed database topic |
| - | --retention-hours | retention hours for the managed database topic |