From cdae3dee7e03c7e65fd09265a94041d991d8cf7c Mon Sep 17 00:00:00 2001 From: djeon Date: Fri, 31 Oct 2025 15:16:23 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20EventHubPublisher=EC=97=90=20@Primary=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=ED=95=98=EC=97=AC=20EventHub=20=EC=9A=B0?= =?UTF-8?q?=EC=84=A0=20=EC=82=AC=EC=9A=A9=20=EB=B3=B4=EC=9E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hgzero/meeting/infra/event/publisher/EventHubPublisher.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meeting/src/main/java/com/unicorn/hgzero/meeting/infra/event/publisher/EventHubPublisher.java b/meeting/src/main/java/com/unicorn/hgzero/meeting/infra/event/publisher/EventHubPublisher.java index 9d18213..943f01f 100644 --- a/meeting/src/main/java/com/unicorn/hgzero/meeting/infra/event/publisher/EventHubPublisher.java +++ b/meeting/src/main/java/com/unicorn/hgzero/meeting/infra/event/publisher/EventHubPublisher.java @@ -16,6 +16,7 @@ import java.time.LocalDate; import java.time.LocalDateTime; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.context.annotation.Primary; import org.springframework.stereotype.Component; /** @@ -23,6 +24,7 @@ import org.springframework.stereotype.Component; * Azure EventHub를 통한 이벤트 발행 */ @Component +@Primary @Slf4j @org.springframework.boot.autoconfigure.condition.ConditionalOnBean(name = "eventProducer") public class EventHubPublisher implements EventPublisher {