php-rdkafka
php-rdkafka copied to clipboard
MockCluster
Description
Hello,
Is it possible to implement the RdKafka Mock Cluster for testing purpose ?
The mock seems to exist in the rdkafka lib: https://github.com/confluentinc/librdkafka/blob/master/src/rdkafka_mock.h
I'm ready to help if need with some insight Thanks you
Hello @TonySma
Unfortunately this API is not stable currently: https://github.com/confluentinc/librdkafka/blob/93877617709eb071a0f4ec7038c54e2764abefc9/src/rdkafka_mock.h#L73-L78
* @remark This is an experimental public API that is NOT covered by the
* librdkafka API or ABI stability guarantees.
*
*
* @warning THIS IS AN EXPERIMENTAL API, SUBJECT TO CHANGE OR REMOVAL.
I assume it's primarily used by the librdkafka test suite.