You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have configuration 5 nodes, 4 broker+controller and 1 controller.
Create topic with replication factor 5, and it is created, and describe show that topic partition have 5 replicas.
/opt/kafka/latest/bin/kafka-topics.sh --create --bootstrap-server=dc1-prod-sep-kafka-001-vs:9092,dc2-prod-sep-kafka-001-vs:9092 --replication-factor 5 --partitions 1 --topic test5
Replicas 5 but ISR 4.
Why does kafka initially allow you to create a replica on the controller node, although in reality the replica is not created on the controller node and there are no topic files in the log directory.
Is this expected behavior or not? Thanks.
The text was updated successfully, but these errors were encountered:
I have configuration 5 nodes, 4 broker+controller and 1 controller.
Create topic with replication factor 5, and it is created, and describe show that topic partition have 5 replicas.
/opt/kafka/latest/bin/kafka-topics.sh --create --bootstrap-server=dc1-prod-sep-kafka-001-vs:9092,dc2-prod-sep-kafka-001-vs:9092 --replication-factor 5 --partitions 1 --topic test5
/opt/kafka/latest/bin/kafka-topics.sh --describe --topic test5 --bootstrap-server=dc1-prod-sep-kafka-001-vs:9092
Topic: test5 TopicId: amuqr8EgRmqeKryUHZwsMA PartitionCount: 1 ReplicationFactor: 5 Configs: segment.bytes=1073741824
Topic: test5 Partition: 0 Leader: 3 Replicas: 3,4,1,2,5 Isr: 3,4,1,2
Replicas 5 but ISR 4.
Why does kafka initially allow you to create a replica on the controller node, although in reality the replica is not created on the controller node and there are no topic files in the log directory.
Is this expected behavior or not? Thanks.
The text was updated successfully, but these errors were encountered: