WIP wip-header-enricher
authorKai Moritz <kai@juplo.de>
Mon, 18 Jul 2022 19:30:50 +0000 (21:30 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 18 Jul 2022 19:30:50 +0000 (21:30 +0200)
src/main/java/de/juplo/kafka/wordcount/splitter/SplitterApplication.java

index ea1fb17..8bd928b 100644 (file)
@@ -17,14 +17,12 @@ import org.springframework.integration.kafka.outbound.KafkaProducerMessageHandle
 import org.springframework.integration.transformer.HeaderEnricher;
 import org.springframework.integration.transformer.support.ExpressionEvaluatingHeaderValueMessageProcessor;
 import org.springframework.integration.transformer.support.HeaderValueMessageProcessor;
-import org.springframework.integration.transformer.support.StaticHeaderValueMessageProcessor;
 import org.springframework.kafka.core.ConsumerFactory;
 import org.springframework.kafka.core.KafkaTemplate;
 import org.springframework.kafka.listener.ContainerProperties;
 import org.springframework.kafka.listener.KafkaMessageListenerContainer;
 import org.springframework.messaging.MessageHandler;
 
-import java.util.Collections;
 import java.util.HashMap;
 import java.util.Map;