This example, we have successfully created the coffeecake last hour with three brokers, and for that
we have created a separate configuration of files for every broker and there we have that unique broker
ID, unique port and the unique path to log files.
And afterwards we have the topic with file partitions.
And the name of this topic was cards.
And we have verified that the partitions were spread across all brokers in the class and two of partitions
were created on one of the brokers to us or on as a broker.
And Ramin Patison was the third broker.
And here you see a picture of distribution of the partitions across brokers.
In my case, in your case, you may see a completely different picture.
Also, we have simulated failure of one of the brokers in the classroom, and we have seen that in such
case, consumers will not be able to receive all messages if there was no replication of fact or configurable
or in other words, if your application is default and is set to one in such case, messages that were
stored on particular broker that went down will not be available for a trial by consumers.
And you may get nasty messages like those warning some partitions have the brokers without a matching
lisner.
OK, this all for this example.
And in the next one we will launch again set of brokers in a cluster using the same configuration files.
But we will create a topic with replication of October three and we will see how topics will be spread
across brokers in such case and what will happen if, again, any of the brokers will fail.
So we'll see you in the next example.
Bye bye.