---
title: Create
url: https://docs.vultr.com/reference/vultr-cli/database/topic/create
description: Creates a new topic in a Vultr managed database service for message streaming between applications
publish_date: 2025-09-14T03:04:30.240785Z
last_updated: 2025-11-07T17:43:58.569321Z
---

The `vultr-cli database topic create` command creates a new topic in a Vultr managed database service, allowing you to establish message streams for pub/sub communication.

## Usage

```console
$ vultr-cli database topic create <Database ID> [flags]
```

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