We have just executed multiple tests using coproducer performance testability and here on the screen
you see actually limits of my computer and the limits of coffeecake studied as Loung to hear, but indeed,
all one million messages we are successfully sent at those mentioned here right now.
Let's try to start Kafka consumer performance test.
And for that, you need to use another comment, this one.
And here, let's come back to our Kafka Gloster and read the messages from Topic Burov.
And let's read those ten thousand messages and see how fast this consumer will be able to consume all
of them.
So let's hope this comment go here.
Let's open up new tab.
Go to Kafka.
And let's start consumption here and here are results of testing, let's make it a bit smaller because
actually just single roll of information.
Let me make it a bit smaller once again, like this.
And again, we are still not able to read it clearly, but we could distinguish that in total, we have
consumed nine megabytes at the rate 13 megabits per second.
So here was this rate.
And in total, we have consumed the ten thousand messages and afterwards you'll see some additional
timings.
Let's not try to consume more messages and let's increase messages quantity to one hundred thousand.
So let's go to our file, increase it to one hundred thousand like this.
Copy come and go here based at.
And all of those marriages were successfully consumed just in one second.
So here you see a difference in time here with staff time and heroes and time and throughput rate was
around 100 megabits per second.
And that is a great result for my computer.
And finally, let's try to consume one million messages.
Let's go here and adjust to this number two, one million copies.
And based here.
And here you see a really, really nice result, I have not even expected such results and one million
messages were received just in the two seconds here you see a difference in time and the rate was around
400 megabits per second.
Really, really nice rate.
OK, we're getting that in previous example, when we have read the details about consumer group, I
have told you that when consumer is not able to catch up with a lot, there will be a lag value that
is greater than zero when, again, consumer is not able to read as as producer produces messages.
And in the next level, let's try to simulate this case and we will create a new topic called The Power
of Two.
And we will decrease quantity of partitions to just, let's say, three.
And afterwards we will try to start there, the producer and try to produce many messages to the topic
and to consume them by specific consumers.
Let's try that next.
Bye bye.