0xffff-zhiyan commented on code in PR #21053:
URL: https://github.com/apache/kafka/pull/21053#discussion_r2677608600


##########
metadata/src/main/java/org/apache/kafka/image/ConfigurationDelta.java:
##########
@@ -56,19 +70,28 @@ public void deleteAll() {
     }
 
     public ConfigurationImage apply() {
+        Set<String> whitelist = VALID_CONFIGS_REF.get();

Review Comment:
   I’m a bit confused about how we construct the image from the snapshot. Do we 
keep applying deltas incrementally, or do we construct the image directly from 
the snapshot without going through deltas? If it’s the latter, then validating 
only the deltas wouldn’t be sufficient to remove invalid configs.



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