TsgcWSPClient_KafkaMethods › DeleteTopic

DeleteTopic Method

Deletes a topic from the Kafka cluster.

Syntax

procedure DeleteTopic(const aTopicName: string);

Parameters

Remarks

Sends a DeleteTopics request to the broker. Topic deletion must be enabled on the broker (delete.topic.enable) for this operation to take effect.

Example

oKafka.DeleteTopic('my-topic');

Back to Methods