I have a question about re-partitioning in Kafka...
Let say I have a Topic which has 3 partitions on 3 Broker Kafka Cluster with replication factor 3, which will mean every Broker will have one partition for master and 2 other brokers will have the replication of this partition and I know inside of a partition, as long partition distribution strategy stay same, ordered delivery inside of the partition guaranteed.
My question is, lets say, I decide 3 partitions are not enough, I decide to add one more partition and one more broker, what will happen then? Would the message that are already in a partition would be transferred to new partition if the partition strategy say so or they will stay in the old partition and only the new records would be written to new partition?
If the all the partition will be re-arranged after the creation of new partition, will the order of delivery be preserved?