manub / scalatest-embedded-kafka

A library that provides an in-memory Kafka instance to run your tests against.
MIT License
295 stars 87 forks source link

Replace 0.0.0.0 with localhost #131

Closed francescopellegrini closed 6 years ago

francescopellegrini commented 6 years ago

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.