File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
spring-kafka/src/main/java/org/springframework/kafka/support Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -36,21 +36,6 @@ public interface Acknowledgment {
3636 */
3737 void acknowledge ();
3838
39- /**
40- * Negatively acknowledge the current record - discard remaining records from the poll
41- * and re-seek all partitions so that this record will be redelivered after the sleep
42- * time (in milliseconds). Must be called on the consumer thread.
43- * <p>
44- * @param sleepMillis the time to sleep in milliseconds; the actual sleep time will be larger
45- * of this value and the container's {@code maxPollInterval}, which defaults to 5 seconds.
46- * @since 2.3
47- * @deprecated in favor of {@link #nack(Duration)}
48- */
49- @ Deprecated (since = "2.8.7" , forRemoval = true )
50- default void nack (long sleepMillis ) {
51- nack (Duration .ofMillis (sleepMillis ));
52- }
53-
5439 /**
5540 * Negatively acknowledge the current record - discard remaining records from the poll
5641 * and re-seek all partitions so that this record will be redelivered after the sleep
You can’t perform that action at this time.
0 commit comments