Remove topic from Kafka cluster
This function requires Streaming Data Framework for MATLAB® Production Server™.
deleteTopic( removes a topic from a
Kafka® cluster, if Kafka permissions allow deletion. The
ks specifies the topic to delete and the network address of the
Kafka host that contains the topic. This deletion is permanent. The deleted topic
and the data it contains cannot be recovered.
Delete Kafka Topic
Assume that you have a Kafka server running at the network address
that has a topic
Create an object connected to the
ks = kafkaStream("kafka.host.com",9092,"CoolingFan");
If you no longer require the topic and the data in it, you can delete it. You must have the necessary permissions to delete topics.
Introduced in R2022b