How to delete multiple topics in Apache Kafka
Yes you can use regex-like expressions when deleting topics with the kafka-topics.sh tool: For example, to delete all topics starting with giorgos-: ./bin/kafka-topics.sh –zookeeper localhost:2181 –delete –topic ‘giorgos-.*’ Using the Admin APIs, you can also delete several topics at once, see AdminClient.deleteTopics