Versions Compared

Key

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

...

We have 2 methods in AdminClient  for updating config, alterConfigs  and incrementalAlterConfigs , the former has many restrictions and has been deprecated from 2.3.0. However, It's still used in ConfigCommand  to update broker config and is resulting in a bug

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKAFKA-13788
, so I'm inclined to move it to incrementalAlterConfigs  and provide a flag fallback to still use alterConfigs  for new client to interact with old servers. There use alterConfigs if the server is under 2.3.0. There are some other reasons for this change:

...