m1a2st opened a new pull request, #21005: URL: https://github.com/apache/kafka/pull/21005
This PR updates the behavior of Admin.incrementalAlterConfigs() to be consistent when invoked using bootstrap servers versus bootstrap controllers. The following changes apply specifically when using a bootstrap controller: 1. Null Config Values (DELETE Only) A null config value is allowed only when used with AlterConfigOp.OpType.DELETE. Supplying null with any other operation type will now result in an InvalidRequestException. 2. Duplicate Config Names Providing duplicate configuration names within the same resource will now fail with an InvalidRequestException. 3. Unknown Resource Types Requests containing unknown resource types will now fail with an InvalidRequestException. These changes ensure the controller-based Admin API behaves consistently and predictably, aligning with broker-side validation rules. FYI: https://github.com/apache/kafka/pull/20960 -- 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]
