빅데이터/Kafka
Sent auto-creation request for Set(__consumer_offsets) to the active controller 에러 해결 방법
AndersonChoi
2025. 4. 18. 12:49
로컬에서 테스트 도중에.. 발생한 에러이다.
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도 마찬가지로 로컬에서는 수정해줘야 한다;;
반응형