Skip to content

Commit da91130

Browse files
committed
Javadoc Polishing
1 parent 36e30f1 commit da91130

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spring-kafka/src/main/java/org/springframework/kafka/listener/ConsumerAwareListenerErrorHandler.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2019 the original author or authors.
2+
* Copyright 2017-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -21,8 +21,9 @@
2121
import org.springframework.messaging.Message;
2222

2323
/**
24-
* An error handler that has access to the consumer, for example to adjust
25-
* offsets after an error.
24+
* An error handler that has access to the consumer. IMPORTANT: do not perform seek
25+
* operations on the consumer, the container won't be aware. Use a container-level error
26+
* handler such as the {@link SeekToCurrentErrorHandler} for such situations.
2627
*
2728
* @author Gary Russell
2829
* @since 2.0

0 commit comments

Comments
 (0)