wuxw
2019-02-02 9454b49eeabd56894550f1419f14e96f9d10c2ef
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();
    }
 
}