I need to write tests for an application which is integrated with Kafka and sends event messages to a remote Kafka server. My goal is to ensure, as a consumer, that those messages are created and to check their content, if that is possible.
I looked through Kafka documentation and found the consumer API is where I am supposed to start but I’m unsure how to start implementing it.