I'm trying to figure out how to load test a kafka consumer.
In my application, the consumer reads message from kafka and does a lot of work most of it is writing stuff in a database. Since it's an important process for my team, I would like to be able to load test the consumer and be able to have some report as to how the consumption did. The end goal of this is that it generates the report in our CI and we would be able to see the evolution of the consumption for same load of message.
Sadly I really don't see how I can achieve such a thing. Would you have any idea as to how I would be able to do this ?
As of now, I'm thinking about duplicating the production topic on a dedicated environement and everytime I want to execute my load tests I would move the offset. This would not help me get a report on the consumption.
Thanks for reading me.