In this tutorial, we’ll explore the MockConsumer, one of Kafka‘s Consumer implementations.
First, we’ll discuss what are the main things to be considered when testing a Kafka Consumer. Then, we’ll see how we can use MockConsumer to implement tests.
#testing #kafka #web-development