File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-kafka/src/main/java/org/springframework/kafka/support Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public interface Acknowledgment {
46
46
* Must be called on the consumer thread.
47
47
* <p>
48
48
* @param sleep the duration to sleep; the actual sleep time will be larger of this value
49
- * and the container's {@code maxPollInterval }, which defaults to 5 seconds.
49
+ * and the container's {@code pollTimeout }, which defaults to 5 seconds.
50
50
* @since 2.8.7
51
51
*/
52
52
default void nack (Duration sleep ) {
@@ -74,7 +74,7 @@ default void acknowledge(int index) {
74
74
* <p>
75
75
* @param index the index of the failed record in the batch.
76
76
* @param sleep the duration to sleep; the actual sleep time will be larger of this value
77
- * and the container's {@code maxPollInterval }, which defaults to 5 seconds.
77
+ * and the container's {@code pollTimeout }, which defaults to 5 seconds.
78
78
* @since 2.8.7
79
79
*/
80
80
default void nack (int index , Duration sleep ) {
You can’t perform that action at this time.
0 commit comments