If cluster of the brokers in your setup is a very, very large and contains hundreds of brokers, of
course it is not safe to have just single people this way.
Usually cluster of a zookeeper is created and usually this Cold and Sambell Zookeeper Ensemble and it
is recommended to have a number of the Severals in Zookeeper and Sambell.
Why is that?
In every zookeeper colostrum you should set up a so-called quorum.
Quorum is the minimum quantity of the cells that should be up and running in order to form operational
or otherwise.
If they are less serious than quorum, Zookeeper Gloster is considered down and all corresponding brokers
that were connected to the disaster will be also down.
Let me give you an example.
In such case, on this diagram, there are three Zwicky processors and we can set up a quorum of two
serros.
And in case when any one of those three saros we will fail.
Zookeeper Gloster will still be up and operational.
But if another three will fail and only one of several will be left, then a zookeeper ensemble will
be considered down and entire Patricof Gloucester will be shut down as well.
And no, let me quickly explain to you why you should have order number of the Sarabeth in the Kuiper
Ensemble and how you could set the quorum, how you should choose number four quorum.
Let's suppose that you have set for service in Zookeeper and Sambal and the quorum is set to two.
And let's suppose that two of those zookeeper are allocated, for example, in USA and two others are
in Europe.
And there is Internet outage between two continents.
And if quorum is set to do to severals in USA, will still think that the zookeeper ensemble is up and
running and operational because quorum is to and there are two operational sarus and the same relates
to two processors in Europe.
They both will think that Zookeeper Closter is up and running and now you'll end up in a situation with
two different Gloucester's to serros in each and every Gloster will Sarovar, Kafka, Brockers, Kafka
producers and Kafka consumers.
And that's really, really bad.
In such case, you will get the discrepancy in messages and you'll get the mess.
That's why it is recommended to set quorum to half of the day of Zwicky balseros plus one.
What I mean, for example, if a Delora nine Sarus in Zookeeper Ensemble, then Quarrell should be set
to five.
If, for example, there are 15 Zonkey, Prospero's than Quarrell should be set to a 15 plus one divided
by two, so a quorum will be equal to eight in such case, even if seven of 15 will fail, quorum will
be reached.
We will have still Azeroth in the Gloucester and Gloucester will be still up and operational.
OK, that's all about Zookeeper Kloster or Ensemble.
And the most important you should keep in mind is the quantity of the severals in Zookeeper Gloster
should be odd.
So one three, five seven and so on.
OK, let's proceed.
And next.
Let me explain you what you should do.
If your company is international and it is spread among different continents and it is really hard to
maintain just Sumell, Kafka, Gloster across all continents.
See you next by.