From 4aee33d6ab1345243e426e05388f6fc512970e93 Mon Sep 17 00:00:00 2001 From: TengYao Chi Date: Tue, 17 Dec 2024 00:20:30 +0800 Subject: [PATCH] KAFKA-18259: Documentation for consumer auto.offset.reset contains invalid HTML (#18210) Reviewers: Andrew Schofield --- .../kafka/clients/consumer/ConsumerConfig.java | 4 ++-- .../consumer/internals/AutoOffsetResetStrategy.java | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java index fb4c05062bb9f..b0b3927407593 100644 --- a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java +++ b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java @@ -171,9 +171,9 @@ public class ConsumerConfig extends AbstractConfig { public static final String AUTO_OFFSET_RESET_CONFIG = "auto.offset.reset"; public static final String AUTO_OFFSET_RESET_DOC = "What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server " + "(e.g. because that data has been deleted): " + - "