wuxw
2019-04-22 e36232928ba5b119c1917c86c6b2b1fa422c2260
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.java110.comment.kafka;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
 
/**
 * Created by wuxw on 2018/4/15.
 */
@Configuration
public class CommentServiceBean {
    @Bean
    public CommentServiceKafka listener() {
        return new CommentServiceKafka();
    }
 
}