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;
@ImportResource("classpath:integration.xml")
public class SplitterApplication
{
- @Autowired
- SplitterApplicationProperties properties;
-
-
- @Bean
- String outputTopic()
- {
- return properties.getOutputTopic();
- }
-
@InboundChannelAdapter(channel = "recordings")
@Bean
KafkaMessageSource<String, String> source(