From c807ed5335b06b8082b59137f56b50f20dc7deaf Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Thu, 26 Apr 2018 12:53:31 -0400 Subject: [PATCH] Fix typo in warning log. --- .../integration/kafka/inbound/KafkaMessageSource.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-integration-kafka/src/main/java/org/springframework/integration/kafka/inbound/KafkaMessageSource.java b/spring-integration-kafka/src/main/java/org/springframework/integration/kafka/inbound/KafkaMessageSource.java index 5ca3a8d003..a4cc521f1b 100644 --- a/spring-integration-kafka/src/main/java/org/springframework/integration/kafka/inbound/KafkaMessageSource.java +++ b/spring-integration-kafka/src/main/java/org/springframework/integration/kafka/inbound/KafkaMessageSource.java @@ -43,10 +43,10 @@ import org.apache.kafka.common.errors.WakeupException; import org.springframework.beans.factory.DisposableBean; import org.springframework.context.Lifecycle; import org.springframework.integration.IntegrationMessageHeaderAccessor; -import org.springframework.integration.acks.AcknowledgmentCallback; -import org.springframework.integration.acks.AcknowledgmentCallbackFactory; import org.springframework.integration.endpoint.AbstractMessageSource; import org.springframework.integration.support.AbstractIntegrationMessageBuilder; +import org.springframework.integration.support.AcknowledgmentCallback; +import org.springframework.integration.support.AcknowledgmentCallbackFactory; import org.springframework.kafka.core.ConsumerFactory; import org.springframework.kafka.core.DefaultKafkaConsumerFactory; import org.springframework.kafka.support.Acknowledgment; @@ -231,8 +231,8 @@ public class KafkaMessageSource extends AbstractMessageSource } if (this.logger.isWarnEnabled()) { this.logger.warn("'" + ConsumerConfig.MAX_POLL_RECORDS_CONFIG - + "' has been forced to from " + (maxPoll == null ? "unspecified" : maxPoll) - + "to 1, to avoid having to seek after each record"); + + "' has been forced from " + (maxPoll == null ? "unspecified" : maxPoll) + + " to 1, to avoid having to seek after each record"); } Map configs = new HashMap<>(suppliedConsumerFactory.getConfigurationProperties()); configs.put(ConsumerConfig.MAX_POLL_RECORDS_CONFIG, 1);