sjhajharia opened a new pull request, #20303: URL: https://github.com/apache/kafka/pull/20303
### Summary Adds comprehensive test coverage for the StorageTool format command feature validation, including tests for valid feature overrides, invalid feature detection, and multiple feature specifications. Also adds debug output to help with troubleshooting format operations. ### Changes Made #### Test Coverage Improvements - **`testFormatWithReleaseVersionAndFeatureOverride()`**: Tests that feature overrides work correctly when specified with `--feature` flag - **`testFormatWithInvalidFeatureThrowsError()`**: Tests error handling for unsupported features - **`testFormatWithMultipleFeatures()`**: Tests multiple feature specifications in a single format command #### Debug Output Enhancement - **Formatter.java**: Added debug output to print bootstrap metadata during format operations - Helps with troubleshooting format issues by showing the complete bootstrap metadata being written - Improves visibility into what features and configurations are being applied #### Test Updates - **FormatterTest.java**: Updated existing tests to account for the new debug output\ ### Related - KIP-1022: [Formatting and Updating Features ](https://cwiki.apache.org/confluence/display/KAFKA/KIP-1022%3A+Formatting+and+Updating+Features) -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org