You can buy this project and download/modify it how often you want.
/** * Provides classes to support the use of MockConsumer and MockProducer. */ package org.springframework.kafka.mock;