Confluent-kafka-dotnet: Q: Mock Broker API?

Created on 4 Dec 2019  路  2Comments  路  Source: confluentinc/confluent-kafka-dotnet

Description

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? :-)

question

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=3 in your existing application.

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings