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

   This PR improves error handling for feature argument parsing in the 
`StorageTool`. The main change is stricter validation of the expected format 
for feature arguments, ensuring users provide them in the correct 
`feature=version` format.
   
   **Before:**
   * If user using argument like: `./bin/kafka-storage.sh feature-dependencies 
--feature group.version`, the following error will occur, which is a bit 
confusing:
   <img width="970" height="162" alt="image" 
src="https://github.com/user-attachments/assets/aa4341f9-6eb8-488e-b88e-f5244560184b";
 />
   
   **After:**
   <img width="812" height="55" alt="image" 
src="https://github.com/user-attachments/assets/9aedecdb-e657-4bd3-8b9b-22d6282a1dc1";
 />
   
   
   
   
   


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