the Kafka server.
the EmbeddedKafkaConfig used to start the broker.
the optional EmbeddedZ server which Kafka relies upon.
the Directory logs are to be written to.
Shuts down the broker, the factory it relies upon, if defined, and the app, if defined.
true to recursively delete the log directory.