From 96b27915b662dccaa8e32a37fb3f80c709f226f1 Mon Sep 17 00:00:00 2001 From: ChickenchickenLove Date: Wed, 24 Apr 2024 00:32:51 +0900 Subject: [PATCH] Make AbstractKafkaListenerEndpoint.ackDiscarded Javadoc more clear --- .../kafka/config/AbstractKafkaListenerContainerFactory.java | 2 +- .../kafka/config/AbstractKafkaListenerEndpoint.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-kafka/src/main/java/org/springframework/kafka/config/AbstractKafkaListenerContainerFactory.java b/spring-kafka/src/main/java/org/springframework/kafka/config/AbstractKafkaListenerContainerFactory.java index 95f10a0fda..1b9ba2bed5 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/config/AbstractKafkaListenerContainerFactory.java +++ b/spring-kafka/src/main/java/org/springframework/kafka/config/AbstractKafkaListenerContainerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2023 the original author or authors. + * Copyright 2014-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-kafka/src/main/java/org/springframework/kafka/config/AbstractKafkaListenerEndpoint.java b/spring-kafka/src/main/java/org/springframework/kafka/config/AbstractKafkaListenerEndpoint.java index 608ffd84d7..4b7cf8c97c 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/config/AbstractKafkaListenerEndpoint.java +++ b/spring-kafka/src/main/java/org/springframework/kafka/config/AbstractKafkaListenerEndpoint.java @@ -62,6 +62,7 @@ * @author Gary Russell * @author Artem Bilan * @author Wang Zhiyang + * @author Sanghyeok An * * @see MethodKafkaListenerEndpoint */ @@ -333,7 +334,7 @@ protected boolean isAckDiscarded() { } /** - * Set to true if the {@link #setRecordFilterStrategy(RecordFilterStrategy)} is in use. + * Set to true if the {@link #setRecordFilterStrategy(RecordFilterStrategy)} should ack discarded messages. * @param ackDiscarded the ackDiscarded. */ public void setAckDiscarded(boolean ackDiscarded) {