로컬에서 테스트 도중에.. 발생한 에러이다.
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
Sent auto-creation request for Set(__consumer_offsets) to the active controller
너무 뜬금없기도 하고, 로컬에서 새로 띄운 카프카로 테스트 도중에 발생한 것이라서 더욱 당황스러웠다;;
겨우 찾아낸 링크 https://github.com/bitnami/charts/issues/19522#issuecomment-2341364442
[bitnami/kafka] messages are not getting generated in topics from producer to consumer · Issue #19522 · bitnami/charts
Name and Version bitnami/kafka What architecture are you using? amd64 What steps will reproduce the bug? I have no name!@kafka-controller-0:/$ kafka-topics.sh --bootstrap-server localhost:9092 --cr...
github.com
이유는 broker 셋팅시에 다음과 같이 설정을 안해서 그렇다
offsets.topic.replication.factor=1
이게 기본값이 3이라서 그런데, 로컬에서 브로커1개로 띄웠을때는 3개 rf로 만들 수 없기 때문에 무한반복 나는 것 ㅜㅜ
위 상황과 유사하게 transaction rf도 마찬가지로 로컬에서는 수정해줘야 한다;;
반응형
'빅데이터 > Kafka' 카테고리의 다른 글
카프카4.0 부터는 eager rebalancing protocol이 삭제됩니다. (0) | 2025.02.28 |
---|---|
[local macOS 환경] apache kafka(3.5.0기준) + redpanda/console 로 편하게 테스트 하기 (0) | 2025.02.26 |
카프카에서 데이터 삭제는 어떻게 이루어 지는가> (0) | 2025.02.13 |
kafka 4.0부터는 스칼라 2.12가 더 이상 사용되지 않습니다. (0) | 2025.02.13 |
standalone 카프카(kraft모드 in local) 실행 스크립트(1줄) (0) | 2025.02.11 |
KIP-932: Queues for Kafka 조사 (0) | 2025.01.12 |