Mirai1129 opened a new pull request, #19675:
URL: https://github.com/apache/kafka/pull/19675

   If delete.topic.enable is false on the brokers, deleteTopics will mark the 
topics for deletion, but not actually delete them. The futures will return 
successfully in this case.
   
   It is not true as the server return exception now.
   
   ```java
   if (!config.deleteTopicEnable) {
     if (apiVersion < 3) { 
       throw new InvalidRequestException("Topic deletion is disabled.") 
     } else { 
       throw new TopicDeletionDisabledException() 
     }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to