You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "JimmyWang6 (via GitHub)" <gi...@apache.org> on 2025/10/13 10:01:01 UTC

[PR] MINOR: Improve error handling for StorageTool [kafka]

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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Improve error handling for StorageTool [kafka]

Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #20696:
URL: https://github.com/apache/kafka/pull/20696


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org