Welcome to the new DOCS.vastdata.com. We've added new menus and a version selector, plus new persona and resource pages to help customers get started. Looking for a previous article? Use the docs search.

topic list

Prev Next

This command lists event topics.

Usage

topic list --database-name NAME
           [--name NAME]
           [--page-size COUNT]
           [--page PAGE_NO]

Required Parameters

--database-name NAME

The name of the database from which to list topics.

Options

--name NAME

Filters the output by topic name.

--page-size COUNT

Sets the maximum number of topics per page in the output. The default value is 100.

--page PAGE_NO

If the page size limit is set, displays the page specified by its page number. The default value is 1.

Example

+-----------------------------+--------------------------------+
| Name                        | Database-name                  |
+-----------------------------+--------------------------------+
| test-topic-diligent-grackle | kafka-enterprising-keen-oriole |
+-----------------------------+--------------------------------+