MCPcopy
hub / github.com/segmentio/kafka-go / DeleteTopics

Method DeleteTopics

conn.go:308–313  ·  view source on GitHub ↗

DeleteTopics deletes the specified topics.

(topics ...string)

Source from the content-addressed store, hash-verified

306
307// DeleteTopics deletes the specified topics.
308func (c *Conn) DeleteTopics(topics ...string) error {
309 _, err := c.deleteTopics(deleteTopicsRequest{
310 Topics: topics,
311 })
312 return err
313}
314
315// findCoordinator finds the coordinator for the specified group or transaction
316//

Callers 7

testDeleteTopicsFunction · 0.45
deleteTopicFunction · 0.45
TestClientDeleteTopicsFunction · 0.45
newLocalClientWithTopicFunction · 0.45
newLocalClientWithTopicFunction · 0.45
newLocalClientAndTopicFunction · 0.45

Calls 1

deleteTopicsMethod · 0.95

Tested by 7

testDeleteTopicsFunction · 0.36
deleteTopicFunction · 0.36
TestClientDeleteTopicsFunction · 0.36
newLocalClientWithTopicFunction · 0.36
newLocalClientWithTopicFunction · 0.36
newLocalClientAndTopicFunction · 0.36