Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MockCluster #577

Open
TonySma opened this issue Feb 28, 2025 · 1 comment
Open

MockCluster #577

TonySma opened this issue Feb 28, 2025 · 1 comment
Labels

Comments

@TonySma
Copy link

TonySma commented Feb 28, 2025

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

@TonySma TonySma changed the title Mock MockCluster Feb 28, 2025
@arnaud-lb
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants