Removing Topics in a Stream

Describes how to delete one or more topics from the stream using either the Control System or the CLI.

Consumers do not have to stop consuming from a topic before the topic is deleted.

Removing Topics in a Stream Using the Control System

  1. Log in to the Control System and the go to the Topics tab in the stream information page.
  2. Select the topics to remove in the All topics pane and click Remove Topic(s).
    The Remove Topic(s) confirmation window displays.
  3. Verify the list of topics and click Remove Topic.
    The topic and the messages are immediately deleted.

Removing Topics in a Stream Using the CLI or REST API

The command to delete a topic is:

maprcli stream topic delete -path <Stream Path> -topic <Topic Name>

For complete reference information, see stream topic delete.