WIP
authorKai Moritz <kai@juplo.de>
Sun, 17 Jul 2022 16:25:29 +0000 (18:25 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 17 Jul 2022 16:25:29 +0000 (18:25 +0200)
src/main/java/de/juplo/kafka/wordcount/splitter/SplitterApplication.java

index e1d2e10..22576a0 100644 (file)
@@ -1,6 +1,5 @@
 package de.juplo.kafka.wordcount.splitter;
 
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
@@ -19,16 +18,6 @@ import org.springframework.kafka.listener.ConsumerProperties;
 @ImportResource("classpath:integration.xml")
 public class SplitterApplication
 {
-       @Autowired
-       SplitterApplicationProperties properties;
-
-
-       @Bean
-       String outputTopic()
-       {
-               return properties.getOutputTopic();
-       }
-
        @InboundChannelAdapter(channel = "recordings")
        @Bean
        KafkaMessageSource<String, String> source(