MINOR: Cleanup RaftClient#upgradeKRaftVersion java document (#20275)

The compiler warning is due to a lack of import. This patch imports the ApiException to fix it.

Reviewers: TengYao Chi <frankvicky@apache.org>, Yung
<yungyung7654321@gmail.com>
This commit is contained in:
Ken Huang 2025-08-05 19:06:17 +08:00 committed by GitHub
parent eb9f5189f5
commit a12d38f091
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@
*/ */
package org.apache.kafka.raft; package org.apache.kafka.raft;
import org.apache.kafka.common.errors.ApiException;
import org.apache.kafka.raft.errors.BufferAllocationException; import org.apache.kafka.raft.errors.BufferAllocationException;
import org.apache.kafka.raft.errors.NotLeaderException; import org.apache.kafka.raft.errors.NotLeaderException;
import org.apache.kafka.server.common.KRaftVersion; import org.apache.kafka.server.common.KRaftVersion;