[ https://issues.apache.org/jira/browse/KAFKA-19263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yu Chia Ma reassigned KAFKA-19263: ---------------------------------- Assignee: Yu Chia Ma > The docs of delete.topic.enable used by Admin#deletetopics is out-of-date > -------------------------------------------------------------------------- > > Key: KAFKA-19263 > URL: https://issues.apache.org/jira/browse/KAFKA-19263 > Project: Kafka > Issue Type: Improvement > Reporter: Chia-Ping Tsai > Assignee: Yu Chia Ma > Priority: Trivial > > * 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. > if (!config.deleteTopicEnable) { > if (apiVersion < 3) { > throw new InvalidRequestException("Topic deletion is disabled.") > } else { > throw new TopicDeletionDisabledException() > } > } -- This message was sent by Atlassian Jira (v8.20.10#820010)