f4fa20ba697767a93c3185f701af6d1dca47f498
[JavaForFun] /
1 package de.example.spring.kafka;
2
3 import org.springframework.cloud.stream.messaging.Source;
4 import org.springframework.context.annotation.Bean;
5 import org.springframework.context.annotation.Configuration;
6
7 @Configuration
8 public class SenderConfig {
9
10   @Bean
11   public Sender sender(Source source) {
12     return new Sender(source);
13   }
14 }