Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
0.8.1.1
-
None
-
None
Description
the AdminUtils:.deleteTopic method is implemented as
def deleteTopic(zkClient: ZkClient, topic: String) {
ZkUtils.createPersistentPath(zkClient, ZkUtils.getDeleteTopicPath(topic))
}
but the DeleteTopicCommand actually does
zkClient = new ZkClient(zkConnect, 30000, 30000, ZKStringSerializer)
zkClient.deleteRecursive(ZkUtils.getTopicPath(topic))
so I guess, that the 'createPersistentPath' above should actually be
def deleteTopic(zkClient: ZkClient, topic: String) {
ZkUtils.deletePathRecursive(zkClient, ZkUtils.getTopicPath(topic))
}
Attachments
Attachments
Issue Links
- is depended upon by
-
KAFKA-1663 Controller unable to shutdown after a soft failure
- Resolved