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