Now we have a Kafka and Kafka zookeeper up and running, and here they are running, in my case, in
those two windows here as doorkeeper and Hirose, Kafka, etcetera.
And while we are doing basically nothing, you'll see some logs here in Cafcass Central Window, like
removed a zero expired offsets in zero milliseconds.
And that means that basically in background, Kafka server is performing some background jobs came in
this location.
Let's examine the contents of the log directory that was created by Kafka Celebra and noticed that here
we have seen this lockmaster, this one log directory piece, Kafka logs not found creating it.
And let's now observe contents of this folder.
Let's open up new terminal window.
And I'll drag it to new window like so let me make it full screen and let Sydney today beam Kafka.
This looks like Seoul and the Hills least files.
And now in this folder, you'll see that Kafka has created automatically several files related to processing
of Kafka messages.
But for now recommended, there are still no messages at all because we have not yet agreed that any
Topix and the handler sent any messages took off Casanovva.
Now there are some files like Matalote Properties or Clean Offset Check Point, and we can quickly observe
contents of matador's properties file and you'll see how such contents broker idee zero zero zero and
Closter ID this one.
Also, let's quickly have a look at the contents of this file.
For example, got clean out of said the checkpoint and now it is empty basically.
Let's quickly have a look at the log, the start of said checkpoint and it is empty as well.
And the reason for that is again simple.
We cannot yet send any messages to Cafcass, but those log files were created here in advance.
OK, let's clear terminal here and let's quickly go to Zookeeper Logs directory.
Let's see one level up like soul.
And here, let's side to zookeeper and list files here again.
There is still one folder over on this to let's do this folder and the list file is here.
And now you'll see here in your file that has appeared after successful connectional from Kafka, Sara
to Zookeeper.
This one, let's try to read it.
Got log dot one.
And here you'll basically see partially unreadable text.
But we are able to distinguish this part and this part.
And those parts are basically information about the thralls broker that has successfully connected to
this zookeeper and that our froster Casanova is running at this port at localhost and the inside is
zero.
But you may ask me where basically this board comes from and how Kafka, Sara, has decided on which
boat it should be run.
Let me show you that quickly.
You can close this window because we don't need it anymore.
Let's close it and go back to Visual Studio Code.
And here, open up the properties file rajib that it is located in config folder.
And here was this file.
This file is default configuration file for Kafka, Sara Kafka, Brolga.
And let's scroll up and again, I will show you this line.
Broecker ID is zero.
It is default idea of Kafka, Brolga and below.
Here you'll find this comment outline Weisbord 1992.
And that means that the default board for Cafcass server is nineteen ninety two.
But if you want to change it, you can uncommon this line and change Dysport for example to nineteen
ninety three and we will do that later on in the course when we will try to start several Kafka brokers
on a same computer.
For now, let's go back to common, that old outline like so and for now you know that default board
for Kafka Celera is 1992 and the default broker ID is zero.
Also there was default lock path DMP Kafka logs where Kafka will store messages and files related to
processing of the messages.
OK, that's all for this short overview of logs folder and the current picture of our setup.
And now we are all set and we could start sending messages to Kafka Selvam.
But in order to send a message to Kafka Cerebrum, it should be sent to specific topic and we can create
multiple topics.
And that's what let's create our very first topic in discourse in the next lecture.
See you in a bit.
Bye bye.