embeddedkafka / embedded-kafka

A library that provides an in-memory Kafka instance to run your tests against.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EmbeddedKafka.isRunning returns false when servers are started separately

francescopellegrini opened this issue · comments

Continuing manub#109 discussion.

Since now we have another potential running server (i.e. Schema Registry), I think the suggested fix is ok.

I'm going to push a PR soon.

I found out that the way we stop servers could lead to potential errors, so I fixed that as well (by stopping them in reverse order).