For now, all of you should have Kafka installed in your computer and all, but you need to do is first
install Java and the second download archive and unzip it for Windows users.
I highly recommend that the two don't install Kafka on Windows and the use, for example, the little
machine on Windows that runs answerable to or create remote virtual private server and install a golf
cart down.
From this point on, I'll use all commands for Unix like systems.
Basically, Mac OS is also Unix like system and commands here doesn't differ from commands that you
should enter on, for example, or Windows system or game in this video.
Let's finally start up Kafka, Sarah, and you know that the Kafka installation is basically a set of
executable scripts located in Benfold.
So let's decided to Kafka falderal.
It is located in a root of the user directory and let's list files in the folder.
And you'll basically see here a bunch of those executable files with extension Định.
You could start Cafcass server by running script Kafka themselves.
This start as H descript also requires configuration file and there was default configuration file located
in config folder.
Let's list files in config folder.
And here was this file.
Basically a server, the properties.
OK, let's not try to start Kafka, Sara.
That is basically called Kafka Brolga.
And on every single computer you are able to run several Kafka broadcasts and we will try that later
on in the course.
For now, let's try to start just single Kafka Broca.
OK, let's create time now and here live by following, we need to type path to executable file again
located in Benfold.
Done come and here will be Kafka that Sara Dash start S.H. And after this path to executable script
we need to specify file name of the configuration file that will be used for this Sara.
And in Unix like systems, all arguments for scripts unspecified simply after space.
So let's add space here and the next type of path to configuration file.
It is located in config folder and the name of the file is Sara Dot Properties.
Basically I could you step out a complete file name like Sole and now let's press enter in order to
start.
Cafcass Sara.
We see here a bunch of messages and finally we see in four messages in four shutting down in four shut
down completed and that means that the start of the server was unsuccessful.
But let's try to find a reason for that.
Let me scroll to the very beginning of this output.
Here it is, and you'll see that after this comment that we have entered, Kafka tries to connect to
Zookeeper and here you see this message connecting to Zookeeper on localhost column two one eight one.
And if I scroll down to the end of this, I'll put and find messages like this timed out, waiting for
connection while in state collecting.
It means that Kafka Sarah tries to connect to Zookeeper that should be running on localhost at Port
two one eight one.
And finally, this connection was timed out because we have not yet started the zookeeper.
And here we came to the conclusion that the calf Cancellara is not able to start without connection
to zookeeper.
So zookeeper is mandatory part of Kafka ecosystem and without doorkeeper, no brokers could be running.
OK.
To summarize, we have just tried to start Kafka, Sarah, and this attempt failed.
And next, let's try to start a zookeeper and afterwards try to start a server once again in the next
lecture by.