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 [options...] <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.



The examples use the db1 profile. To learn more, see Creating a connection profile.

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

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