I read a kafka documentation, but I still confused, when someone talk about data and partitions. In documentation I see that client will send message to partition. Then partition replicate message to replicas (across brokers). And consumer read data from partition.
I have an topic which have 2 partitions. Let's say I have one producer, which send message to partition#1. But I have 2 consumers, one read from partition#1, and second from partition#2. Is it mean that my partition#1 will have 50% messages, and partition#2 will have 50%. Or when client send data to partition#1 then partition#1 should be replicate data not only across brokers, but and for across partitions?