Charlatan is a library created for Apache Kafka in order to substitute real Zookeeper with Zookeeper imitation. Charlatan was tested only with Apache Kafka version 0.11.0.1.
I would copy what we did here and skip out on coverity. It's a pain in the butt to setup and get working correctly and there are other OOTB tools that provide the same functionality without having to go through a service.