We have just created the very first topic in our coffeecake last term, and the name of this topic is
Seeds for creation of this topic.
We have used this command, we have used to Kafka topic script with several named arguments.
Notice that in Shell you could specify named arguments with their desk prefixes like soul.
And for example, here we have specified connection between for Bootstrap Sarah and that is a one of
the Sarahs inside of the class.
For now, we have only single Sarah inside of the cluster and of course each cluster must have at least
one Ozaukee process.
That's what we basically have.
And also we named argument the topic we have specified name of the topic that we want to create.
But now in this lecture, let me show you what exactly has happened in the coffeecake last year when
we have entered this command.
For that, let me go to looks for the work of Castro's looks or related to Kafka messages.
Let me go one level up and the now to DMB.
Kafka looks and least files here.
Remember that we have observed contents of this folder before and there were only five files.
But now there is a new folder called c.D Desk zero.
Let's go to this folder, Zedi Cities Zero and list files now here.
And as you see here, this folder contains several files.
For example, this file with extension index and this file with extension.
Look, let's try to read, for example, this file.
Let me copy its name and cut and paste name.
And now this file is empty.
Let's try to read this file.
Let me copy its name, cut and paste this name.
This file is empty as well.
And the reason for that is that we have not yet sent any messages to this see topic.
And as soon as we will do so, Kafka will store new messages inside of those files and see this desk
zero folder.
But the way this folder has such weird name cities Desh Zero.
Let me explain to them.
Let's go to Visual Studio Code and open up several the properties file.
And here, let's scroll down a bit to this line.
No partitions equals sign one.
This line means how many partitions will be created by default for every topic.
But what is partition inside of every topic matter just can be spread among several partitions.
And every partition is basically just separate folder like we see here.
And in our case, Kafka has created just a single partition because by default, as you see here, number
of partitions is set to one.
If you try to change this default number, for example, to two, then you'll see here two folders with
names.
See this?
There's zero and see this one.
But again, by default, Kafka will create just single partition.
But Dobek, this way here in this folder name we see psychic's zero.
It is partitions number and there are no URLs or folders that Kafka has created in Kafka logs folder.
There was just a single folder see Zero and Kafka.
Did this do to this configuration parameter.
No partitions equal sign one.
OK, no.
Let's proceed.
And next, I'll show you how to read information about existing topics in Kafka Gloster.
See you next.
Bye bye.