I have started to learn Kafka and during the learning, I have faced some confusion with the working process of Kafka and I am going to share with you those confusions and expect clarification.
(1.) created 3 brokers with 3 replication-factor and 3 partitions
when I push the message to the broker then the message will be received by one of the leader partitions in a broker and send it to its replicas.
which way is it used to pass a message with replicas? (approach-1 or approach-2 or another way)
- approach-1
(2.) If I create one broker with 3 partitions
then the message will be received by the leader partition and it belongs to the leader then what is the use of the other 2 partitions?