Deleting a topic consumer

You can use the topic consumer drop command to delete a previously added consumer.

General format of the command:

ydb [global options...] topic consumer drop <topic-path>

View the description of the delete consumer command:

ydb topic consumer drop --help

Parameters of the subcommand

Name Description
--consumer VAL Name of the consumer to be deleted.

Examples

Note

The examples use the quickstart profile. To learn more, see Creating a profile to connect to a test database.

Delete the previously created consumer with the my-consumer name for the my-topic topic:

ydb -p quickstart topic consumer drop \
  --consumer my-consumer \
  my-topic