MINOR: Correct the link in the Javadoc for test-common-internal-api (#18788)

Reviewers: Ken Huang <s7133700@gmail.com>, TengYao Chi <kitingiao@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Ming-Yen Chung 2025-02-04 16:52:18 +08:00 committed by GitHub
parent ad031b99d3
commit 27b46f9a30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -33,11 +33,11 @@ public @interface ClusterConfigProperty {
* The id can vary depending on the different {@link org.apache.kafka.common.test.api.Type}.
* <ul>
* <li> Under {@link org.apache.kafka.common.test.api.Type#KRAFT}, the broker id starts from
* {@link org.apache.kafka.common.test.TestKitNodes#BROKER_ID_OFFSET 0}, the controller id
* starts from {@link org.apache.kafka.common.test.TestKitNodes#CONTROLLER_ID_OFFSET 3000}
* {@link org.apache.kafka.common.test.api.TestKitDefaults#BROKER_ID_OFFSET 0}, the controller id
* starts from {@link org.apache.kafka.common.test.api.TestKitDefaults#CONTROLLER_ID_OFFSET 3000}
* and increases by 1 with each addition broker/controller.</li>
* <li> Under {@link org.apache.kafka.common.test.api.Type#CO_KRAFT}, the broker id and controller id both start from
* {@link org.apache.kafka.common.test.TestKitNodes#BROKER_ID_OFFSET 0}
* {@link org.apache.kafka.common.test.api.TestKitDefaults#BROKER_ID_OFFSET 0}
* and increases by 1 with each additional broker/controller.</li>
* </ul>
*

View File

@ -31,7 +31,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Used to indicate that a test should call the method given by {@link #value()} to generate a number of
* cluster configurations. The method specified by the value should accept a single argument of the type
* {@link ClusterGenerator}. Any return value from the method is ignore. A test invocation
* {@link ClusterGenerator}. Any return value from the method is ignored. A test invocation
* will be generated for each {@link ClusterConfig} provided to the ClusterGenerator instance.
*
* The method given here must be static since it is invoked before any tests are actually run. Each test generated

View File

@ -28,7 +28,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Used to set class level defaults for any test template methods annotated with {@link ClusterTest} or
* {@link ClusterTests}. The default values here are also used as the source for defaults in
* {@link ClusterTestExtensions}.
* {@link org.apache.kafka.common.test.junit.ClusterTestExtensions}.
*/
@Documented
@Target({TYPE})