派生自 projectDept/qhighschool

EricsHu
2023-11-23 bef4f6d51bff03c0512a75f43e79699b7296f1fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.qxueyou.scc.sys.service.impl;
 
//import java.util.concurrent.CountDownLatch;
//
//import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Component;
 
@Component
public class Listener {
//
//    public final CountDownLatch latch1 = new CountDownLatch(1);
//
//    @KafkaListener(id = "foo", topics = "annotated1")
//    public void listen1(String foo) {
//        this.latch1.countDown();
//    }
 
}