[230319] event publisher 패키지 구조 변경
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package com.example.event;
|
||||
package com.example.common.event;
|
||||
|
||||
public interface DomainEvent {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.example.event;
|
||||
package com.example.common.event;
|
||||
|
||||
public interface EventPublisher {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package com.example.event;
|
||||
package com.example.common.infra;
|
||||
|
||||
import com.example.common.event.DomainEvent;
|
||||
import com.example.common.event.EventPublisher;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.apache.kafka.clients.producer.ProducerRecord;
|
||||
import org.springframework.kafka.core.KafkaTemplate;
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.payment.application;
|
||||
|
||||
import com.example.cash.domain.Cash;
|
||||
import com.example.event.EventPublisher;
|
||||
import com.example.common.event.EventPublisher;
|
||||
import com.example.payment.domain.Payment;
|
||||
import com.example.payment.domain.PaymentRepository;
|
||||
import com.example.payment.domain.event.PaymentCreated;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.example.payment.domain.event;
|
||||
|
||||
import com.example.event.DomainEvent;
|
||||
import com.example.common.event.DomainEvent;
|
||||
import com.example.payment.infra.http.request.PaymentCompleteRequest;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
Reference in New Issue
Block a user