singhnama opened a new pull request, #15590:
URL: https://github.com/apache/kafka/pull/15590

   **What**
   Use IncrementalAlterConfigs API to update the dynamic config of the broker 
in the ConfigCommand tool.
   
   **Why**
   As part of [this 
KIP](https://cwiki.apache.org/confluence/display/KAFKA/KIP-339%3A+Create+a+new+IncrementalAlterConfigs+API)
   incrementalAlterConfigs API was introduced to change any config dynamically 
since the existing alterConfig API the new configuration replaces any existing 
configuration. This makes AlterConfigs unusable in cases where the client does 
not know the full existing configuration before making the modification. Even 
worse, in some cases, the client may be unable to discover the existing 
configuration.  "Sensitive" fields are not returned by DescribeConfigs. 
`kakfa-config.sh (CommandConfig)` still uses `alterConfig` to update the config.
   
   **Testing**
   Updated existing test that will cover the cases.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to