In this political section, we will launch multiple brokers and create the cluster of brokers, also,
we will launch in the Gulf cocounsel producer and the Gulf Coast Council Consumer Group.
Also, we will launch multiple calls for consumers in Borrello and Loung, them in specific consumer
group.
And for that, we will use commands that we have used in the first section of this girls.
And in order to simplify and speed our process of launching those commands and avoid the type of those
comments every time in command line, I feel prepared to defile this one.
Basic commands that is located under my GitHub repository, where you may find all comments that you
may use for launching, for example, zookeeper launching a Kafka broker, creating topic and so on.
But first of all, please navigate to my GitHub repository.
So here is this link GitHub that comes Bisto Cheuk.
And the next day comes name of Repository and the name of a repository for discourse is Abajo.
This Kafka discourse.
And you may either clone this repository using these baaden or download this repository.
And here in the root of this repository, you'll find the two files diagrams Dot Jemal and Basic Kafka
commands Dhoti.
Let me show you how to clone this repository.
So just click on this button and the click on this button that will copied this y'all Taculli board
next to open up terminal and decide, for example, to desktop and the next and get clone and paste
copied command.
But please note that you need to install Gaede.
If you don't have a get installed, please install it or you can use another option and simply download
ZIP archive.
I will show you that in a moment.
But for now, let me clone this repository to my local computer.
Cloning and now you should find new folder about you discovered this on your desktop, so let me see
to this folder, CD, Aperture Golf Course.
And if I list files here in this folder, I'll see the same files that are available here in this repository.
And for example, I am able to read this file using Visual Studio Code.
So let me just open this repository and here open this folder open, navigate to desktop and select
this folder open.
And now I am able to read, for example, this file basically commands or digs deep, and in order to
launch Kafka broker, you could simply copy this command and paste it in the terminal.
Also, if you would like to read the topic, simply select this entire section and paste into terminal.
Notice that here, in order to simplify reading of every command, I have added backslash after every
part of command and actually backslash is separate or between different lines of the same command.
For example, you could avoid using backslash by simply deleting it and the next line to this one.
But again, for simplicity and for clarity, I have added backslash us everywhere in all commands.
And this file contains basic commands that we will use throughout the section and that you may use during
your work and further study on a bicycle.
So here you'll see commands of how to launch a zookeeper, how to start a broker and notice that those
commands utilize default configuration files.
Bors for Zookeeper and for Kafka Breuker.
Next, you will find how to create a particular topic.
For example, the big test will be created with replication effect or one and three partitions.
Next day you may read the list of topics using this command afterwards.
If you will not read the details of a specific topic, you could use this command.
Also, if you want to start the console producer, here is command for that.
And here you may start the console consumer using this command.
If you want to read the messages from beginning using a console consumer, you should add the option
this desk from beginning and hearer's entire command for that.
Also here below, you might start console consumer with specific consumer group, for example, in this
case, a user group named THAST Here Below.
With this command, you could list the old consumer groups in a Kafka class.
And if you want to read the details of specific consumer group, you could use this command.
And this basically all commands that we will utilize throughout this section.
And you could simply copy and paste them in the terminal.
For example, you could easily start zookeeper by copying this command going to terminal.
Let's clear it and let me navigate to Kafka folder source code and the code COFCO.
If you don't have installed Kafka, use the Lord to Kafka archive and unzip it into Kafka folder.
So here I have a lot of the old files necessary for a launch of Kafka's services.
And next door I can paste the command this one and enter and this will launch Zookeeper Similarily.
You could use all remaining commands.
OK, let me stop the zookeeper for now, OK?
This is how you're able to clone repository to your local computer.
For that you need to help get installed.
It is option number one.
Second option.
You could simply open this file directly at GitHub like so and copy every command from here.
Like this one.
All like this one.
It is completely acceptable.
Also, you are able to download only specific file from GitHub for data.
Just click here are all on this one and the next door right mouse click and save as.
And now I am able to save this file.
For example, the desktop.
Let me save it.
Phyll was saved and now I'm able to open it, and if I double click on it, it will be opened in my
case using notepad.
And again, I could simply copy every comment from here and based it into terminal.
That's option number two.
Also, you are able to download an entire repository using download button.
Let me do that.
So again, click on Golon or download button and download ZIP.
And in such case, ARCI will be downloaded.
Let me open it up and double click on it.
And the next drag, this folder, for example, again to desktop, and now if I go to desktop, I'll
find this folder that will contain all files that are available here at my GitHub account.
But difference between Golon and the law is that the with option gloom, you are able to fetch any updates
to these files in the future.
With the Lord, you will simply get current versions of all those files.
So choose any option you want.
Eyes copy it commands directly from this file at the dot com or clone or download repository to your
local computer.
Also notice that along with these basic commands, the defile you may find file diagrams dot as Jemal
And let me describe what is included in this file after the small files.
So see you next by.