allow passing in a kafkaClient