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."); - } } /**