When you install Kafka on any computer, it comes basically as a set of the files and those files are
mostly executable scripts with extension age or backup scripts for Windows.
Also, there are default configuration files for Zookeeper and Broadcom.
And here on this diagram, you see the fold boards that I used and those configuration files.
So if you start a zookeeper, it will use the Portal two one eight one and the Kafka broker or server
will use the portal 1992.
And here is important.
Notice if you're going to launch multiple, for example, zookeepers on a same computer, you need to
use different portals because every single port can be occupied only by single brought us on a single
computer.
And that's why if you want to run, for example, three zookeeper serros on a same computer, you need
to adjust configuration files and create the separate configuration files for every Ozaukee, for instance,
with different portals.
And it is also a good idea to create separate log folders for every instance.
For example, you could use both Dewani one for Zookeeper two one eight two for a second one and the
two one eight three four third one.
Same relates to Kafka brockers.
It is possible to run multiple brokers' on a same computer and also you need to create a separate configuration
of files for every instance of brokers and you need to adjust at least the pause and make them, for
example, 1992, 1993, 1994 and so on.
Depending on the quantity of the brokers, you are going to run on your computer and also you should
adjust the folders where each broker will store massages or looks.
If you are going to run, for example, zookeeper instances on different physical or total severals,
then there is no need to adjust both.
And you are able to run all of them on the same boat, but on different computers.
Same relates to Kafka brockers.
You could use the default port 1992 on all computers or if you wish, you could adjust it to any custom
port you want.
And one more important notice regarding the Lounge of Kafka broadcast.
If you create a glass door with different brokers and those brokers are located on different computers,
even in different data centers, and those brokers need to communicate via public IP addresses or domain
names, you need to adjust to advertise the names in configuration of files of each broker because advertize
name is that hostname plus board that are communicated by Kafka broker to Zookeeper and one producer
or consumer will connect.
Duke of Gloucester Zookeeper will supply these hostname bloodsport that they received from Kafka, Broadcom
and for example, if Kafka broker sent to advertise the hostname localhost and the nineteen ninety two
of course producer that is located somewhere in other places in the world will be able to connect to
Sergia Breuker because localhost is local address of computer itself.
That's why please be careful and adjust.
Advertise the name and potter on every broker if you are going to make them public.
OK, that's all what I wanted to talk about in this lecture and just make a note of those polls that
are used by default by a zookeeper and the calf brolga.
Also, please note that I don't want to dive deeper into installation and Delonge of Zookeeper and Kafka
brolga because all of that Weyco performed in a previous section.
Now let's move on.
And next, let's talk about TotEx.
So see you next.
Bye bye.