Kafka Producer cannot send messages

I am very new to Kafka.

Using Kafka 0.11

The number of live brokers "1" does not match the required replication coefficient "3" for the bias topic (configured through "offsets.topic.replication.factor")

I get the above error when sending message for topic

kafka-topics --zookeeper localhost:2181 --topic test --describe
Topic:test1 PartitionCount:1    ReplicationFactor:1 Configs:
Topic: test1    Partition: 0    Leader: 0   Replicas: 0 Isr: 0 
+4
source share
2 answers

How do you start a broker? What is server.properties file. The one that comes with the downloaded package should have the following line:

offsets.topic.replication.factor=1

, , , , . Kafka Zookeeper, " " __consumer_offsets. , 1 , 3. server.properties. , 3.

+8

ppatierno , server.properties

0

Source: https://habr.com/ru/post/1683255/


All Articles