You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/09/21 04:36:00 UTC

[jira] [Resolved] (KAFKA-19681) Optimize MetadataShell tool find command print warning message intead of throwing exception

     [ https://issues.apache.org/jira/browse/KAFKA-19681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chia-Ping Tsai resolved KAFKA-19681.
------------------------------------
    Fix Version/s: 4.2.0
       Resolution: Fixed

> Optimize MetadataShell tool find command print warning message intead of throwing exception
> -------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-19681
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19681
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: 黃竣陽
>            Assignee: 黃竣陽
>            Priority: Minor
>             Fix For: 4.2.0
>
>
> When using the {{find}} command, it currently lists all directories and files. However, if it cannot find a child node, it throws an exception and prevents the subsequent directories from being printed. I think we should change this behavior to print an error message instead of throwing an exception, which would be more user-friendly.
> In addition, since {{zkMigrationState}} is not used in Kafka 4.X, we should remove this child node.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)