Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Issue with Kafka Multi broker setup

Highlighted

Issue with Kafka Multi broker setup

Contributor


I am trying to setup 3 kafka brokers in multi node setup for creating imply.io dashboard for my projects. Initially I created 2 brokers in multi node broker setup. But I am getting the below error. Even though I had 2 brokers.

[2019-04-25 20:24:29,577] ERROR org.apache.kafka.common.errors.InvalidReplicationFactorException: Replication factor: 2 larger than available brokers: 1


Below mentioned the kafka brokers setup.


Broker-1:

broker.id=0

listeners = PLAINTEXT://01.bm-imply-server.dev.lax1:9092

advertised.listeners=PLAINTEXT://01.bm-imply-server.dev.lax1:9092

log.dirs=/tmp/kafka-logs-9092


Broker-2:

broker.id=1

listeners = PLAINTEXT://01.bm-imply-server.dev.lax1:9093

advertised.listeners=PLAINTEXT://01.bm-imply-server.dev.lax1:9093

log.dirs=/tmp/kafka-logs-9093


1 REPLY 1

Re: Issue with Kafka Multi broker setup

Mentor

@Mahendiran Palani Samy

Can you share your server.properties I think your brokers are not getting advertised

Don't have an account?
Coming from Hortonworks? Activate your account here