Maybe these pictures can help you:

https://kafka.apache.org/images/log_anatomy.png
http://www.michael-noll.com/blog/uploads/kafka-topics-partitions-replicas.png
http://www.michael-noll.com/blog/uploads/kafka-cluster-overview.png

And of course, this post might help too:

http://www.michael-noll.com/blog/2013/03/13/running-a-multi-broker-apache-kafka-cluster-on-a-single-node/





2014-02-27 7:17 GMT+01:00 Balasubramanian Jayaraman (Contingent) <
balasubramanian.jayara...@autodesk.com>:

> Hi,
>
> I have a doubt regarding to Partition and replica. What is the difference
> between them?
> I created a topic "test1" with 5 partition and 3 replicas. I am sending a
> message to the topic "test1". I see that different partitions are present
> in the different Kafka brokers.
> Some questions on this topic
>
> 1.      Will that message be sent to all the partitions?
>
> 2.      When it will be replicated to all the partitions?
>
> 3.      When it will be replicated to all the replicas?
>
> Thanks
> Bala
>

Reply via email to