Can we avoid working with KafkaClientFactoryFactory directly? If we need to set a property dynamically, let's use BQRuntime builder property method.
The test looks as if we are testing Kafka/Zookeeper, not Bootique. Let's rewrite it from the point of view of bootique-kafka testing. Testcontainers setup is just a helper operation in this process.
A few comments:
KafkaClientFactoryFactory
directly? If we need to set a property dynamically, let's use BQRuntime builderproperty
method.bootique-kafka
testing. Testcontainers setup is just a helper operation in this process.