No, we will create the first topic, and for that we will use another script called Kafka Topix, not
S.H. And should that Zookeeper and Kafka etc. are up and running and please open up new time, no window.
I'll go to new window and the director's window to another desktop in order to be able to switch back
to Zookeeper and Kafka and observe what will happen here.
Here in your terminal, windowless city to Kafka, Fooldom Clear Terminal.
And he'll also run script located in Benfold.
And the name of the script is Kafka Desktop, not S.H..
And let's try to run this script without any arguments.
Enter.
And I see this output with a long list of different options, and that means that we are not able to
run the script without any arguments like this, we need to use some options for that.
And you see here at the top that this script is used for creation deletion and the changing of topics.
And now our goal is to create false topic in our Kafka class to notice that this terminal window is
completely separated from doors to windows.
So here we have also keep running and here we are running in Kafka.
And basically Zookeeper and Sarah have formed Kafka, Kloster.
And now somehow from this script, we need to connect to that Kafka Gloster and create new topic down
this way.
Now we will use several named options.
And first one is option.
Does this create like so let's press enter now and see what will happen.
And now we'll see exception in thread, the main java, the blank, and this exception says us that
we need to specify our bootstrap Sarah or Zork cheaper.
And that's what I have told you.
In the previous larochelle, there was coffeecake last and zookeeper's running at this port by default.
And Cafcass server single broker is running at this port.
And in order to connect to this coffeecake last resort keeper and Cafcass Silva, we should specify
either so-called bootstrap Sara.
And it could be any of the Sarabeth into Gloster, or you could specify Zork and connect via Zookeeper
IP Address and Port.
Let's use the bootstrap server option for now.
And after create option, we need to add another named option for that.
Again, let's use two dashes and next type bootstrap.
There, ceremony after space comes IP address and board of bootstrap server, and in our case, Celera
is running at the local acost and bought 1992 this one, and you could type IIs or localhost all nine
to 92 or specify IP address of localhost like 127 zero zero one.
But let me type here localhost for simplicity.
And next comes the board of a booster, etc..
This one, 1992.
Let's enter it like soul.
And now let's try to create a new topic.
Antrel.
And now I see again a list of health options, let me scroll up to the very beginning of this list and
here I see another error missing required argument topic.
And that means that in order to create a new topic, we need to specify its name by using another named
argument called topic.
Let's do that.
Let me basically clear it up, go to history.
And here at Annuls are named argument desk topic and outer space usually specify the name of the new
topic.
And let's create topic cold cities like Seoul.
And this topic will be used for exchange of messages with names of different cities.
Let's are now.
And now there is no error, it's a good sign for sure, and no, we can try to go back to Kafka, Sarah,
we know this one and observe what has happened here.
And if you'll scroll a bit, you'll see such information in four different cities, zero broker or zero.
And that means that new partition for new topic cities was created.
Basically, let's go to resource to the court and observe logs here.
Go to several log minified this section.
And here you'll see such matters, such as creating topic cities with configuration and empty object.
That means that the new topic cities was created with default configuration.
And let's basically observe what has happened in coffeecake last year after creation of new topic after
this comment.
Let's do that next by.