Chia-Ping Tsai created KAFKA-19263:
--------------------------------------
Summary: 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
* 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)