diff --git a/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java b/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java index 38313467851fc..70e4cba9625ac 100644 --- a/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java +++ b/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java @@ -572,16 +572,16 @@ public class StreamsConfig extends AbstractConfig { static final String DSL_STORE_SUPPLIERS_CLASS_DOC = "Defines which store implementations to plug in to DSL operators. Must implement the org.apache.kafka.streams.state.DslStoreSuppliers interface."; static final Class DSL_STORE_SUPPLIERS_CLASS_DEFAULT = BuiltInDslStoreSuppliers.RocksDBDslStoreSuppliers.class; - /** {@code default.windowed.key.serde.inner - * @deprecated since 3.0.0 Use {@link #WINDOWED_INNER_CLASS_SERDE "windowed.inner.class.serde"} instead.} */ + /** {@code default.windowed.key.serde.inner} + * @deprecated since 3.0.0 Use {@link #WINDOWED_INNER_CLASS_SERDE "windowed.inner.class.serde"} instead. */ @SuppressWarnings("WeakerAccess") @Deprecated public static final String DEFAULT_WINDOWED_KEY_SERDE_INNER_CLASS = "default.windowed.key.serde.inner"; private static final String DEFAULT_WINDOWED_KEY_SERDE_INNER_CLASS_DOC = "Default serializer / deserializer for the inner class of a windowed key. Must implement the " + "org.apache.kafka.common.serialization.Serde interface."; - /** {@code default.windowed.value.serde.inner - * @deprecated since 3.0.0 Use {@link #WINDOWED_INNER_CLASS_SERDE "windowed.inner.class.serde"} instead.} */ + /** {@code default.windowed.value.serde.inner} + * @deprecated since 3.0.0 Use {@link #WINDOWED_INNER_CLASS_SERDE "windowed.inner.class.serde"} instead. */ @SuppressWarnings("WeakerAccess") @Deprecated public static final String DEFAULT_WINDOWED_VALUE_SERDE_INNER_CLASS = "default.windowed.value.serde.inner"; @@ -657,8 +657,8 @@ public class StreamsConfig extends AbstractConfig { @SuppressWarnings("WeakerAccess") public static final String METRICS_SAMPLE_WINDOW_MS_CONFIG = CommonClientConfigs.METRICS_SAMPLE_WINDOW_MS_CONFIG; - /** {@code auto.include.jmx.reporter - * @deprecated and will removed in 4.0.0 Use {@link JMX_REPORTER "jmx.reporter"} instead.} */ + /** {@code auto.include.jmx.reporter} + * @deprecated and will be removed in 4.0.0 */ @Deprecated public static final String AUTO_INCLUDE_JMX_REPORTER_CONFIG = CommonClientConfigs.AUTO_INCLUDE_JMX_REPORTER_CONFIG; @@ -1594,7 +1594,7 @@ private void verifyMaxInFlightRequestPerConnection(final Object maxInFlightReque * Get the configs to the {@link KafkaConsumer main consumer}. * Properties using the prefix {@link #MAIN_CONSUMER_PREFIX} will be used in favor over * the properties prefixed with {@link #CONSUMER_PREFIX} and the non-prefixed versions - * (read the override precedence ordering in {@link #MAIN_CONSUMER_PREFIX} + * (read the override precedence ordering in {@link #MAIN_CONSUMER_PREFIX}) * except in the case of {@link ConsumerConfig#BOOTSTRAP_SERVERS_CONFIG} where we always use the non-prefixed * version as we only support reading/writing from/to the same Kafka Cluster. * If not specified by {@link #MAIN_CONSUMER_PREFIX}, main consumer will share the general consumer configs @@ -1668,7 +1668,7 @@ public Map getMainConsumerConfigs(final String groupId, final St * Get the configs for the {@link KafkaConsumer restore-consumer}. * Properties using the prefix {@link #RESTORE_CONSUMER_PREFIX} will be used in favor over * the properties prefixed with {@link #CONSUMER_PREFIX} and the non-prefixed versions - * (read the override precedence ordering in {@link #RESTORE_CONSUMER_PREFIX} + * (read the override precedence ordering in {@link #RESTORE_CONSUMER_PREFIX}) * except in the case of {@link ConsumerConfig#BOOTSTRAP_SERVERS_CONFIG} where we always use the non-prefixed * version as we only support reading/writing from/to the same Kafka Cluster. * If not specified by {@link #RESTORE_CONSUMER_PREFIX}, restore consumer will share the general consumer configs @@ -1701,7 +1701,7 @@ public Map getRestoreConsumerConfigs(final String clientId) { * Get the configs for the {@link KafkaConsumer global consumer}. * Properties using the prefix {@link #GLOBAL_CONSUMER_PREFIX} will be used in favor over * the properties prefixed with {@link #CONSUMER_PREFIX} and the non-prefixed versions - * (read the override precedence ordering in {@link #GLOBAL_CONSUMER_PREFIX} + * (read the override precedence ordering in {@link #GLOBAL_CONSUMER_PREFIX}) * except in the case of {@link ConsumerConfig#BOOTSTRAP_SERVERS_CONFIG} where we always use the non-prefixed * version as we only support reading/writing from/to the same Kafka Cluster. * If not specified by {@link #GLOBAL_CONSUMER_PREFIX}, global consumer will share the general consumer configs @@ -1860,7 +1860,7 @@ public KafkaClientSupplier getKafkaClientSupplier() { * Return an {@link Serde#configure(Map, boolean) configured} instance of {@link #DEFAULT_KEY_SERDE_CLASS_CONFIG key Serde * class}. * - * @return an configured instance of key Serde class + * @return a configured instance of key Serde class */ @SuppressWarnings("WeakerAccess") public Serde defaultKeySerde() { diff --git a/streams/src/main/java/org/apache/kafka/streams/processor/assignment/TaskAssignor.java b/streams/src/main/java/org/apache/kafka/streams/processor/assignment/TaskAssignor.java index 38a9a033aa0db..acfbe4beb84e9 100644 --- a/streams/src/main/java/org/apache/kafka/streams/processor/assignment/TaskAssignor.java +++ b/streams/src/main/java/org/apache/kafka/streams/processor/assignment/TaskAssignor.java @@ -66,9 +66,9 @@ enum AssignmentError { * be thrown up to kill the StreamThread and can be handled as any other uncaught exception would if the application * has registered a {@link StreamsUncaughtExceptionHandler}. * - * @param assignment: the final assignment returned to the kafka broker - * @param subscription: the original subscription passed into the assignor - * @param error: the corresponding error type if one was detected while processing the returned assignment, + * @param assignment the final assignment returned to the kafka broker + * @param subscription the original subscription passed into the assignor + * @param error the corresponding error type if one was detected while processing the returned assignment, * or AssignmentError.NONE if the returned assignment was valid */ default void onAssignmentComputed(GroupAssignment assignment, GroupSubscription subscription, AssignmentError error) {}