A default binder has been requested, but there is no binder available
Caused by: java.lang.IllegalArgumentException: A default binder has been requested, but there is no binder available
Kafka를 사용하는데 서버 시작하면 이 에러가 뜨고 중지된다. 😂
yml에 쓴 설정이나 다른 부분들을 봐도 문제가 없었다.
스택오버플로우를 찾아보니 의존성을 빠뜨려서 그렇다 ㅠ.ㅠ
spring-cloud-stream-binder-kafka를 의존성으로 추가해주었다.
참고 👇
A default binder has been requested, but there are no binders available for 'org.springframework.cloud.stream.messaging.DirectWi
I am trying to create the simplest as possible hello world with Spring Cloud + Kafka Streams + Spring Boot 2. I realize I miss basic concepts. Basically, I understand that: 1 - I need to define an
stackoverflow.com
반응형
'Message Queue > Kafka' 카테고리의 다른 글
[Kafka] Topic 메시지 삭제? (0) | 2023.02.08 |
---|---|
[Error] Could not read JSON: Cannot construct instance of `x` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator) (0) | 2023.02.08 |
Kafka 명령어 (0) | 2023.01.20 |
Apache Kafka 설치 (0) | 2023.01.06 |