feat : event hub 에러 해결
This commit is contained in:
parent
2080c5476a
commit
a24699bc8e
@ -43,7 +43,7 @@ public class EventHubAdapter {
|
||||
private final ExecutorService executorService = Executors.newFixedThreadPool(3);
|
||||
private volatile boolean isRunning = false;
|
||||
|
||||
@PostConstruct
|
||||
// @PostConstruct
|
||||
public void startEventListening() {
|
||||
log.info("Event Hub 리스너 시작");
|
||||
isRunning = true;
|
||||
@ -52,7 +52,7 @@ public class EventHubAdapter {
|
||||
executorService.submit(this::listenToReviewEvents);
|
||||
}
|
||||
|
||||
@PreDestroy
|
||||
// @PreDestroy
|
||||
public void stopEventListening() {
|
||||
log.info("Event Hub 리스너 종료");
|
||||
isRunning = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user