JuyeoungJun / cron-monitoring

for cron-monitoring
0 stars 0 forks source link

Kafka 컨테이너 실행 오류 #78

Closed JuyeoungJun closed 3 years ago

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on Jul 19, 2021, 13:47

개요

카프카 컨테이너 정상적으로 실행되지 않고 브로커와 통신하지 못하고 있었음.

버그 내용

Number of alive brokers '1' does not meet the required replication factor '3' for the offsets topic (configured via 'offsets.topic.replication.factor')

버그 재현 코드

      KAFKA_DEFAULT_REPLICATION_FACTOR: 3
      KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
      KAFKA_MIN_INSYNC_REPLICAS: 2

해결 방안

      KAFKA_DEFAULT_REPLICATION_FACTOR: 1
      KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
      KAFKA_MIN_INSYNC_REPLICAS: 1