Closed crankydillo closed 6 years ago
Feel free to do so, keep in mind that ideally the old behaviour should be unchanged and the new behaviour should be happening only when calling the "new" way.
Thanks. I was thinking the existing behavior would be changed though. Is there ever a case, where we wouldn't want the port used by the zookeeper instance (created here) to be passed via EmbeddedKafkaConfiguration
here? In other words, I consider the existing behavior to be (very slightly:) buggy.
If someone was using the existing behavior to some end, they can always stick with the prior versions and/or open issues explaining their need:)
Anyhow, I will come up with a PR soon.
Hi,
I would like to use the manual start/stop methods of EmbeddedKafka along with having zookeeper and kafka ports determined by this library. It seems like a trivial change made here involving reading the zookeeper port from the
factory
variable is all that's needed. I don't mind creating a PR if you're OK with this change.