In a previous lecture, we have explored the contents of Kafka folder, and there are basically several
sub folders and two text files.
Also, we have tried to eat contents of several tax documents.
And of course, you are able to do that using time and know and command line, but it is not the best
way to do that.
This is why in this lecture, I'll show you how to install visual graphical user interface, text editor,
Gold Visual Studio Code.
It is open source free and available for Mac Windows and Unix like systems.
And I'll demonstrate you how to read the contents of every file using the escort and how to edit those
files as well.
OK, so please don't Lord Gold on your computer if it does not yet installed.
I downloaded the Formic excises around 100 megabytes and basically in discourse we will use the via
Scholte not just for editing of Kafka files, but also using Via Skold.
We will do some coding for creation of consumers and producers for Kafka.
OK, archive was downloaded.
Let's open it up.
And here I'll find a file and all what they need to do is drag this file into applications folder,
but if I do that, I'll get an error because I have already Vaskov installed in this computer.
If you cannot, please just file in the applications folder and afterwards simply run visual studio
code.
I'll stop operation, then go to Spotlight and type here.
Visual Studio Code and Vyas code will be opened here, see some release notes.
Let me close them.
And now let's open up a folder here in the U.S. Code in order to perform this task, go to file, click
here open.
And now we need to find a location of Kafka folder on this computer.
Please go to this dropdown and select here your username, in my case, it's Bugden and here in a whole
folder for this particular user, along with folders like applications, desktop documents, dullards,
I'll find folder called Kafka because we have created this folder in a home directory for specific user
local users.
OK, let's select this folder and click open.
And contents of this folder will be opened in visual studio code, and you should agree that reading
the contents of this folder is much easier and nicer here than in terminal.
For example, I can easily expand the folder and read any of the files listed here.
For example, let's click on this file, Kafka.
This conflicts daughter age and you'll see here in the bottom that the vast gold will automatically
detect the type of this file.
It is a shell script and highlight corresponding sections.
For example, comments will be in blue and executable lines will be like soul with different colors.
Also, let's open up, for example, this file connect mirror maker Dot Sage and the same structure
is here.
Let me Minifie Benfold and the gold config folder and here I'll find a bunch of files with extension
properties.
And for example, let's open up a file center that properties.
This file will be used in order to start Kafka brolga again.
I see some comments here and the below I configuration parameters like Broecker ID next I'll see no
network threads num are your threads and so on.
A bunch of different configuration parameters.
For example, on this line I see location of the folder where Kafka will store its logs and there is
a difference between logs that will be stored here and logs that are stored here in this folder.
In this folder, Kafka actually logs related to start stop and Operation of services.
And in this folder, COFCO will store messages that will be sent by producers and consumed by consumers.
OK, this is how you are able to easily and nicely read contents of every file here using Visual Studio
Code.
But more than that, you are able pretty fast and easy edit those files.
For example, I can rename this folder and name it instead of Kafka.
This looks simply looks.
And now I see that this file was edited.
You'll see here this dot and there is also one unsaved file here and I am able to save file using a
combination of as or go to file and click say.
And now this file will say, I can prove that by going, for example, to Tamino and here let's again
use comment and read file that we have just edited.
It is located in config and file.
Name is Sarovar Properties.
And scroll up a bit to the location of a log file.
Notice how inconvenient is to do that, using a terminal, basically looking at your storage DMP logs.
And yes, here was this line and it proves that the contents of this file were edited.
OK, let me go back to the code and edit this file back to Kafka dish logs and save the file again by
pressing comment as OK, that's how you are able pretty easily and fast to read and edit files using
visuals to the code.
And that's what we will do later on discourse.
Also here you can click on license and the license terms for Aperture Kafka and also you can click on
this file and read another text document.
Notice that not all lines are visible here on a screen and I need to use the horizontal scroll in order
to see them.
And if you want to see all lines, you can.
Prosky combination option Z like soul and no lines will be drop and visible on a screen.
Also, you are able to hide this left pane by clicking on this icon.
By clicking on it again, it will be shown again and so on.
Bioscope is very powerful, Edita, and if you cannot use it before, I highly recommend you to do that.
I will not explain all of his features or what you need to know about it for the moment is how to read
files and how to edit files.
That's all for this laubscher and the next one lets finally start Casares.
I'll see you in the next lecture.
Bye bye.