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 @@ -304,19 +304,21 @@ public ContainerProperties getContainerProperties() {
304304
305305 /**
306306 * Set an interceptor to be called before calling the listener.
307- * Does not apply to batch listeners.
307+ * Only used with record listeners.
308308 * @param recordInterceptor the interceptor.
309309 * @since 2.2.7
310+ * @see #setBatchInterceptor(BatchInterceptor)
310311 */
311312 public void setRecordInterceptor (RecordInterceptor <K , V > recordInterceptor ) {
312313 this .recordInterceptor = recordInterceptor ;
313314 }
314315
315316 /**
316317 * Set a batch interceptor to be called before and after calling the listener.
317- * Does not apply to batch listeners.
318+ * Only used with batch listeners.
318319 * @param batchInterceptor the interceptor.
319320 * @since 2.7
321+ * @see #setRecordInterceptor(RecordInterceptor)
320322 */
321323 public void setBatchInterceptor (BatchInterceptor <K , V > batchInterceptor ) {
322324 this .batchInterceptor = batchInterceptor ;
You can’t perform that action at this time.
0 commit comments