EmbeddedKafka.startZooKeeper is the only method using the former to create a local server.
I stumbled upon this trying to run tests on a machine which had a proxy configured: tests were failing until I added 0.0.0.0 to the proxy hosts whitelist.
I suggest to replace 0.0.0.0 with localhost unless there is a valid reason to use the current value.
EmbeddedKafka.startZooKeeper
is the only method using the former to create a local server. I stumbled upon this trying to run tests on a machine which had a proxy configured: tests were failing until I added 0.0.0.0 to the proxy hosts whitelist.I suggest to replace 0.0.0.0 with
localhost
unless there is a valid reason to use the current value.