File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
spring-kafka/src/main/java/org/springframework/kafka/listener Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2017-2019 the original author or authors.
2
+ * Copyright 2017-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
21
21
import org .springframework .messaging .Message ;
22
22
23
23
/**
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.
26
27
*
27
28
* @author Gary Russell
28
29
* @since 2.0
You can’t perform that action at this time.
0 commit comments