mirror of https://github.com/apache/kafka.git
MINOR: Documentation updates for reserved.broker.max.id
People are facing problems upgrading their clusters with configured broker IDs above 1000 due to `reserved.broker.max.id` which wasn't very well announced. This PR attempts to improve that somewhat by fixing the broker config docs and adding a note to the upgrade documentation. Author: Magnus Edenhill <magnus@edenhill.se> Reviewers: Grant Henke <granthenke@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io> Closes #670 from edenhill/docs-reserved.broker.max.id
This commit is contained in:
parent
901fe2eec2
commit
9a0e16397e
|
@ -522,7 +522,7 @@ object KafkaConfig {
|
|||
.define(ZkEnableSecureAclsProp, BOOLEAN, Defaults.ZkEnableSecureAcls, HIGH, ZkEnableSecureAclsDoc)
|
||||
|
||||
/** ********* General Configuration ***********/
|
||||
.define(MaxReservedBrokerIdProp, INT, Defaults.MaxReservedBrokerId, atLeast(0), MEDIUM, MaxReservedBrokerIdProp)
|
||||
.define(MaxReservedBrokerIdProp, INT, Defaults.MaxReservedBrokerId, atLeast(0), MEDIUM, MaxReservedBrokerIdDoc)
|
||||
.define(BrokerIdProp, INT, Defaults.BrokerId, HIGH, BrokerIdDoc)
|
||||
.define(MessageMaxBytesProp, INT, Defaults.MessageMaxBytes, atLeast(0), HIGH, MessageMaxBytesDoc)
|
||||
.define(NumNetworkThreadsProp, INT, Defaults.NumNetworkThreads, atLeast(1), HIGH, NumNetworkThreadsDoc)
|
||||
|
|
|
@ -27,9 +27,11 @@
|
|||
<li> Restart the brokers one by one for the new protocol version to take effect </li>
|
||||
</ol>
|
||||
|
||||
Note: If you are willing to accept downtime, you can simply take all the brokers down, update the code and start all of them. They will start with the new protocol by default.
|
||||
<p><b>Note:</b> If you are willing to accept downtime, you can simply take all the brokers down, update the code and start all of them. They will start with the new protocol by default.
|
||||
|
||||
Note: Bumping the protocol version and restarting can be done any time after the brokers were upgraded. It does not have to be immediately after.
|
||||
<p><b>Note:</b> Bumping the protocol version and restarting can be done any time after the brokers were upgraded. It does not have to be immediately after.
|
||||
|
||||
<p><b>Note:</b> Broker IDs above 1000 are now reserved by default to automatically assigned broker IDs. If your cluster has existing broker IDs above that threshold make sure to increase the reserved.broker.max.id broker configuration property accordingly.
|
||||
|
||||
<h5><a id="upgrade_9_breaking" href="#upgrade_9_breaking">Potential breaking changes in 0.9.0.0</a></h5>
|
||||
|
||||
|
|
Loading…
Reference in New Issue