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

multiple brokers

axaluss opened this issue · comments

it's not possible to configure multiple brokers.

Hi @axaluss, it is indeed true that you cannot startup multiple embedded brokers, although I don't fully understand why you would like to do so in a testing scenario..

if your kafka client is also doing changes to topic config and replication or you want to test behavior if brokers enter and exit the cluster, it's nice to have

I see your point, but I think your use case is out of the scope of this library. May I suggest to look at https://github.com/testcontainers/testcontainers-scala instead?