Are there any plans to expose the mock broker functionality introduced in librdkafka v1.3.0 ? I know it is marked as experimental yet it seems like a interesting feature for isolation testing. Or would you accept a PR? :-)
yes, for sure. we have no explicit timeline, but it will probably happen naturally as it matures and as we find we want it at the binding level.
You should be able to use it as-is in sunny-scenario testing (i.e., messages will produce successfully) with producer applications by simply configuring test.mock.num.brokers=3 in your existing application.
Most helpful comment
You should be able to use it as-is in sunny-scenario testing (i.e., messages will produce successfully) with producer applications by simply configuring
test.mock.num.brokers=3in your existing application.