mirror of https://github.com/apache/kafka.git
KAFKA-5384: Enable topic deletion by default
https://cwiki.apache.org/confluence/display/KAFKA/KIP-162+-+Enable+topic+deletion+by+default Author: Gwen Shapira <cshapi@gmail.com> Reviewers: Ismael Juma Closes #3241 from gwenshap/KAFKA-5384
This commit is contained in:
parent
bbc3900185
commit
ea8845bbd6
|
@ -20,9 +20,6 @@
|
|||
# The id of the broker. This must be set to a unique integer for each broker.
|
||||
broker.id=0
|
||||
|
||||
# Switch to enable topic deletion or not, default value is false
|
||||
#delete.topic.enable=true
|
||||
|
||||
############################# Socket Server Settings #############################
|
||||
|
||||
# The address the socket server listens on. It will get the value returned from
|
||||
|
|
|
@ -179,7 +179,7 @@ object Defaults {
|
|||
/** ********* Transaction Configuration ***********/
|
||||
val TransactionalIdExpirationMsDefault = 604800000
|
||||
|
||||
val DeleteTopicEnable = false
|
||||
val DeleteTopicEnable = true
|
||||
|
||||
val CompressionType = "producer"
|
||||
|
||||
|
|
|
@ -19,6 +19,17 @@
|
|||
|
||||
<script id="upgrade-template" type="text/x-handlebars-template">
|
||||
|
||||
<h4><a id="upgrade_1_0_0" href="#upgrade_1_0_0"</h4> Upgrading from 0.8.x, 0.9.x, 0.10.0.x, 0.10.1.x, 0.10.2 or 0.11.0.0 to 1.0.0</a></h4>
|
||||
<p>1.0.0 is fully compatible with 0.11.0.0. The upgrade can be done one broker at a time by simply bringing it down, updating the code, and restarting it.
|
||||
To upgrade from earlier versions, please review the <a href="#upgrade_11_0_0">0.11.0.0 upgrade instructions</a>.
|
||||
</p>
|
||||
|
||||
<h5><a id="upgrade_100_notable" href="#upgrade_100_notable">Notable changes in 1.0.0</a></h5>
|
||||
<ul>
|
||||
<li>Topic deletion is now enabled by default, since the functionality is now stable. Users who wish to
|
||||
to retain the previous behavior should set the broker config <code>delete.topic.enable</code> to <code>false</code>. Keep in mind that topic deletion removes data and the operation is not reversible (i.e. there is no "undelete" operation)</li>
|
||||
</ul>
|
||||
|
||||
<h4><a id="upgrade_11_0_0" href="#upgrade_11_0_0">Upgrading from 0.8.x, 0.9.x, 0.10.0.x, 0.10.1.x or 0.10.2.x to 0.11.0.0</a></h4>
|
||||
<p>Kafka 0.11.0.0 introduces a new message format version as well as wire protocol changes. By following the recommended rolling upgrade plan below,
|
||||
you guarantee no downtime during the upgrade. However, please review the <a href="#upgrade_1100_notable">notable changes in 0.11.0.0</a> before upgrading.
|
||||
|
|
Loading…
Reference in New Issue