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