OK, let's get started with this example, and first, let's start as occupiers usually.
Open up New City to COFCO Start Thralls Breugel.
This one.
Open up a new tab again, city to COFCO, start one more Breuker this one.
And start one more Breuker Sidiq Afkham.
And start this program great.
All three brokers are on.
Now open up a new tab and bless greed and your topic and I'll read the topic Goldsborough.
And let's agree, let's say 100 prosecutions and two application Pakta, let's say to three and this
will be completely production.
Ready, set up.
OK, let's copy this comment.
And the city took Afkham and create new topic called Bar.
Awesome.
Let's start with the consumer without the specific consumer group and this consumer will simply consume
messages in this part of topic.
So let's go to notepad and let's find a comment that will start consumer.
This one noticed that in this file there is already everywhere.
Topic Burov and you could use this file in this example in GitHub repository.
So let me copy this comment and let's start consumer here in the step, OK?
Consumer is running and now let's try to test our Glouster and let's produce multiple messages by using
another script.
This one gold calf coproducer test and the here in this example, there are several options.
First of all, you need to specify topic.
You want to produce, just do.
And in our case, topic is parve.
Next, nonrecourse will specify how many messages in total will be produced.
And let's start with one thousand throughput means how many messages per second will be produced.
And with such numbers in place, we will produce one hundred messages per second record.
So specify the size of every message in bytes, and in this case, size of every message will be one
kilobyte.
And the last option we will use here is producer groups.
And this producer option requires a list of key value players and mandatory use bootstrap DOD servers
that should point to one of the servers in coffeecake.
There are also other keys, for example, batch size that you could use in producer groups option.
But we will proceed only just with bootstrap those SAWATSKY.
It will be pretty enough for our testing.
So in summary, now we are about to produce one thousand messages at throughput one hundred messages
per second with the size of every message equal to one gigabyte.
Great.
Let's copy this comment and let's start our test.
Let's open up your tab.
Sillitoe COFCO.
And start test.
No test is run, and you may observe that consumer consumes, massages, the arm and the finally test
will be finished in about 10 seconds because we have produced one thousand messages at the rate one
hundred messages per second.
And here below, while test is running, you'll see progress messages like this one that tells us that
the five hundred two messages will send at the rate around 100 records per second, and here you'll
see it rate in megabytes.
In such case, rate was around 100 kilobytes per second.
And also you'll see the details about latency.
Average latency is a 2.5 milliseconds with maximum latency equal to around three hundred milliseconds.
And finally, one thousand records will send at the rate around 100 megabits per second.
So that's how we were able to produce one thousand.
That's just at the rate one hundred messages per second.
And our coffeecake glasswork is easily able to handle this lot.
But what about higher numbers and whatever number of records will be one hundred thousand and higher
throughput, let's say one thousand or ten thousand messages per second.
Let's try that in the next lecture by.