wuxw
2019-06-03 e080491129f6370d0c0eeb4b0bd9b79ec1a2d2e8
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();
    }
 
}