spring.cloud.stream.function.definition 사용 시 config bus 전달하기 위한 설정 추가
This commit is contained in:
@@ -8,10 +8,14 @@ spring:
|
|||||||
password: msaportal
|
password: msaportal
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
cloud:
|
cloud:
|
||||||
|
bus:
|
||||||
|
destination: springCloudBus
|
||||||
stream:
|
stream:
|
||||||
function:
|
function:
|
||||||
definition: attachmentEntity # 첨부파일 entity 정보 업데이트 하기 위한 이벤트에 대한 consumer function
|
definition: attachmentEntity;busConsumer # 첨부파일 entity 정보 업데이트 하기 위한 이벤트에 대한 consumer function & springcloudbus consumer function
|
||||||
bindings:
|
bindings:
|
||||||
|
busConsumer-in-0:
|
||||||
|
destination: ${spring.cloud.bus.destination}
|
||||||
attachmentEntity-in-0: # 첨부파일 entity 정보 업데이트 하기 위한 이벤트
|
attachmentEntity-in-0: # 첨부파일 entity 정보 업데이트 하기 위한 이벤트
|
||||||
destination: attachment-entity.topic # queue name
|
destination: attachment-entity.topic # queue name
|
||||||
group: attachment
|
group: attachment
|
||||||
|
|||||||
@@ -4,10 +4,14 @@ spring:
|
|||||||
username: msaportal
|
username: msaportal
|
||||||
password: msaportal
|
password: msaportal
|
||||||
cloud:
|
cloud:
|
||||||
|
bus:
|
||||||
|
destination: springCloudBus
|
||||||
stream:
|
stream:
|
||||||
function:
|
function:
|
||||||
definition: reserveRequest # 예약 요청후 물품 재고업데이트 이벤트에 대한 consumer function
|
definition: reserveRequest;busConsumer # 예약 요청후 물품 재고업데이트 이벤트에 대한 consumer function & springcloudbus consumer function
|
||||||
bindings:
|
bindings:
|
||||||
|
busConsumer-in-0:
|
||||||
|
destination: ${spring.cloud.bus.destination}
|
||||||
reserveRequest-in-0: # 예약 요청후 물품 재고업데이트 이벤트에 대한 consumer binding
|
reserveRequest-in-0: # 예약 요청후 물품 재고업데이트 이벤트에 대한 consumer binding
|
||||||
destination: reserve-request.topic # queue name
|
destination: reserve-request.topic # queue name
|
||||||
group: reserved
|
group: reserved
|
||||||
|
|||||||
@@ -4,10 +4,14 @@ spring:
|
|||||||
username: msaportal
|
username: msaportal
|
||||||
password: msaportal
|
password: msaportal
|
||||||
cloud:
|
cloud:
|
||||||
|
bus:
|
||||||
|
destination: springCloudBus
|
||||||
stream:
|
stream:
|
||||||
function:
|
function:
|
||||||
definition: inventoryUpdated # 예약 요청후 물품 재고업데이트 결과에 이벤트에 대한 consumer function
|
definition: inventoryUpdated;busConsumer # 예약 요청후 물품 재고업데이트 결과에 이벤트에 대한 consumer function & springcloudbus consumer function
|
||||||
bindings:
|
bindings:
|
||||||
|
busConsumer-in-0:
|
||||||
|
destination: ${spring.cloud.bus.destination}
|
||||||
reserveRequest-out-0: # 예약 요청후 물품 재고업데이트 이벤트에 대한 supplier binding
|
reserveRequest-out-0: # 예약 요청후 물품 재고업데이트 이벤트에 대한 supplier binding
|
||||||
destination: reserve-request.topic # queue name
|
destination: reserve-request.topic # queue name
|
||||||
group: reserved
|
group: reserved
|
||||||
|
|||||||
Reference in New Issue
Block a user