wuxw
2019-10-10 2673d4c441ed277c3d7a60a644f44e1596b1fde7
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();
    }
 
}