Versions Compared

Key

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

...

Code Block
languagejava
titleAlterConfigs Request
AlterConfigs Request (Version: 1) => [resources] validate_only
  validate_only => BOOLEAN
  resources => resource_type resource_name [configs]
    resource_type => INT8
    resource_name => STRING
    configs => config_name config_value config_operation
      config_name => STRING
      config_value => STRING
      config_operation => INT8                                           // new addition

Request Semantics:

  1. The changes done will be incremental in version 1, opposed to the atomic behavior in version 0. For instance in version 0 sending an update for producer_byte_rate for userA would result in removing all previous data and updating setting userA's config with producerwith producer_byte_rate. Now in version 1 opposed to version 0 it will either add to the config set present in Zookeeper an extra config and keeps other existing configs.
  2. By default in the broker we parse an AlterConfigRequest version 0 with Set operation and handle it with the currently existing behavior.

...