Way to configure Consumer to match Producer throughput #425
Replies: 3 comments 11 replies
-
Does anyone know why this could be? |
Beta Was this translation helpful? Give feedback.
-
I've noticed that lag on Kafka Topic is high when sending lots of messages in short period of time, and Consumer at one point stops consuming messages and then a lot of them stay unconsumed and Consumer shuts down. How can Consumer be configured so that no messages become unconsumed? I would like to send for example a million messages in short period of time, and I would expect for it to be Produced and Consumed in a few seconds. |
Beta Was this translation helpful? Give feedback.
-
Hi, we need to check this behaviour, Consumer is designed to wait until receive one single message and then deliver to JMeter. An idea we have in mind is to allow sort of "number of messages to consume" so we will consuming messages until this value is reached. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a case in which I want to send as many messages from Producer to Topic in a short period, and to read messages from that topic in Consumer. I can achive high throughput in Producer and number of messages I've defined are sent, but Consumer that runs parallel to Producer skips a lot of messages from topic or it does not consume them.
How can I achive that my consumer does not skip messages and that it consumes all messages produced in producer?
When I use Constant Timer then Consumer can process message, but then too few messages can be send to Topic in short period of time.
My test plans:
Test Plans.zip
Beta Was this translation helpful? Give feedback.
All reactions