Home > other >  [question] topic. Delete. Enable=true topic why to delete
[question] topic. Delete. Enable=true topic why to delete

Time:09-19

Kafka small white, has been don't understand, why you need to turn on the switch to allow topic to delete, seen source,
Def start () {
If (isDeleteTopicEnabled) {
//if topic. Delete. Enable=true, starts the delete thread
DeleteTopicsThread=new deleteTopicsThread ()
If (topicsToBeDeleted. Size & gt; 0)
DeleteTopicStateChanged. Set (true)
DeleteTopicsThread. Start ()
}
}
But I don't understand ah, in order not to let the topic is deleted, so I designed such a button
  • Related