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

   ## Summary
   
   Restore the established `AlterConfigPolicy.RequestMetadata.configs()` 
behavior for incremental DELETE operations. A DELETE of an unset topic 
configuration is omitted from the policy map because it generates no config 
record. A broker DELETE remains present with a `null` value, including when the 
broker configuration is unset.
   
   This preserves the KRaft behavior that the ZooKeeper compatibility flag 
introduced by KIP-1252 was designed to match. The Javadoc now describes the 
record-based behavior. Exposing deleted keys independently would require a 
separate public API proposal.
   
   ## Testing
   
   Updated the focused controller unit test to assert the policy arguments for 
an unset topic DELETE, a stored topic DELETE, and an unset broker DELETE. The 
test and Gradle checks have not been run locally. Recommended verification:
   
   ```text
   ./gradlew :metadata:test --tests 
org.apache.kafka.controller.ConfigurationControlManagerTest.testIncrementalDeletePolicyPreservesNoOpTopicBehavior
   ./gradlew spotlessCheck
   ```


-- 
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