Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We will add a new dynamic broker-level configuration named auto.upgrade.metadata.version . It defaults to false unless otherwise specified.

auto.upgrade.metadata.versionCluster ModeEffect
falseZKnone
falseKRaftnone
trueZKnone
trueKRaft
When the KRaft controller starts up
Every 5 minutes, if the current MetadataVersion is less than the statically configured value, it will automatically upgrade the metadata version

 Note that if the configured metadata version is less than or equal to the statically configured value, we will not perform any action.

...

The MANUAL_METADATA_VERSION_MANAGEMENT_DISABLED error indicates that the user attempted to use UpdateFeaturesRequest to change the metadata version, but auto.upgrade.metadata.version was set to true. In versions of UpdateFeaturesRequest prior to 2, INVALID_REQUEST will be returned instead for this case.

Compatibility, Deprecation, and Migration Plan

...