You can buy this project and download/modify it how often you want.
Files of the artifact kafka-unit version 1.0 from the group info.batey.kafka.