From ad5fc757dd80a730d1b2d3bbca6b880ebea43336 Mon Sep 17 00:00:00 2001 From: Soby Chacko Date: Mon, 16 Dec 2024 13:06:07 -0500 Subject: [PATCH] GH-3687: Remove unncessary warning in BatchMessagingMessageListenerAdapter Fixes: #3687 --- .../listener/adapter/BatchMessagingMessageListenerAdapter.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/adapter/BatchMessagingMessageListenerAdapter.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/adapter/BatchMessagingMessageListenerAdapter.java index 3bc231f8fe..1cec947983 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/adapter/BatchMessagingMessageListenerAdapter.java +++ b/spring-kafka/src/main/java/org/springframework/kafka/listener/adapter/BatchMessagingMessageListenerAdapter.java @@ -96,9 +96,6 @@ public void setBatchMessageConverter(BatchMessageConverter messageConverter) { if (recordMessageConverter != null) { setMessageConverter(recordMessageConverter); } - else { - logger.warn("No batch message converter is set. because record message converter is null."); - } } /**