주문 취소 이벤트 발생
This commit is contained in:
@@ -21,7 +21,6 @@ public class ProductService {
|
||||
@StreamListener(KafkaProcessor.INPUT)
|
||||
public void onOrderPlaced(@Payload String message) {
|
||||
System.out.println("##### listener : " + message);
|
||||
|
||||
ObjectMapper objectMapper = new ObjectMapper();
|
||||
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||
|
||||
|
||||
@@ -13,6 +13,14 @@ spring:
|
||||
cloud:
|
||||
stream:
|
||||
kafka:
|
||||
# bindings:
|
||||
# event-in:
|
||||
# consumer:
|
||||
# enableDlq: true
|
||||
# dlqName: JobError
|
||||
# autoCommitOnError: true
|
||||
# autoCommitOffset: true
|
||||
# maxAttempts: 1
|
||||
binder:
|
||||
brokers: localhost:9092
|
||||
streams:
|
||||
|
||||
Reference in New Issue
Block a user