File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
spring-kafka/src/main/java/org/springframework/kafka/config Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -327,19 +327,21 @@ public ContainerProperties getContainerProperties() {
327
327
328
328
/**
329
329
* Set an interceptor to be called before calling the listener.
330
- * Does not apply to batch listeners.
330
+ * Only used with record listeners.
331
331
* @param recordInterceptor the interceptor.
332
332
* @since 2.2.7
333
+ * @see #setBatchInterceptor(BatchInterceptor)
333
334
*/
334
335
public void setRecordInterceptor (RecordInterceptor <K , V > recordInterceptor ) {
335
336
this .recordInterceptor = recordInterceptor ;
336
337
}
337
338
338
339
/**
339
340
* Set a batch interceptor to be called before and after calling the listener.
340
- * Does not apply to batch listeners.
341
+ * Only used with batch listeners.
341
342
* @param batchInterceptor the interceptor.
342
343
* @since 2.7
344
+ * @see #setRecordInterceptor(RecordInterceptor)
343
345
*/
344
346
public void setBatchInterceptor (BatchInterceptor <K , V > batchInterceptor ) {
345
347
this .batchInterceptor = batchInterceptor ;
You can’t perform that action at this time.
0 commit comments