Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- Spring
- Slick
- 카프카
- Elk
- springboot
- 한빛미디어
- kafkastream
- kafka interactive query
- Kafka
- 플레이 프레임워크
- spring-kafka
- Elasticsearch
- aws
- kafka streams
- play framework
- coursera
- RabbitMQ
- schema registry
- avo
- scala
- spring-batch
- spring-cloud-stream
- kafkastreams
- confluent
- Logstash
- enablekafkastreams
- statestore
- gradle
- scala 2.10
- reactive
Archives
- Today
- Total
b
Spring Cloud Finchley.M6 issue 본문
현재 request/reply EDA 를 구축하기 위한 보일플레이트 프로젝트 작성중이다. 와꾸는 Spring Boot 2.0 / Spring 5.0 / Spring Cloud Finchley.M6 를 셋팅하고 있다.
역시나 불안전한 모습을 많이 보여주고 있다. 우선 오늘 발생한 이슈 2가지,
compile('org.springframework.cloud:spring-cloud-stream-binder-kafka')
compile('org.springframework.cloud:spring-cloud-stream-binder-kstream')
디펜던시에 binder-kstream와 binder-kafka를 동시에 넣으면
Field configurationProperties in org.springframework.cloud.stream.binder.kafka.config.KafkaBinderConfiguration required a single bean, but 2 were found:
오류가 발생한다. 어느 개발자의 PR로 다음에는 해결 되는 이슈이다.
PR : https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/pull/315/files
다음 이슈로 binding channel 마다.. 각각의 consumer와, producer 설정을 해야 한다는 점. 설정을 안하면 NPE 를 볼 수 있다.
bindings:
output:
destination: "logging.notification.shipping.result"
producer:
headerMode: raw
input:
destination: "data.order.sheet"
group: "in-grp"
consumer:
headerMode: raw
처럼 각각의 채널마다 producer consumer를 설정해야한다....
'spring framework' 카테고리의 다른 글
SpringBoot 2.3 를 이용해 생성된 도커의 내부 구조 (0) | 2020.09.11 |
---|---|
Spring Boot actuator 에 caffeine cache hit ratio 노출하기. (0) | 2018.02.05 |
SPRINGBOOT로 AWS LAMBDA 이용하기 (0) | 2017.07.07 |
springboot 2.0의 RouterFunction 스캐닝 방법 (0) | 2017.04.25 |
springframework 5.0 webflux module (0) | 2017.04.23 |
Comments