The rdkafka simulator on madsim. Mirrors rdkafka v0.29.0.
Replace all rdkafka entries in your Cargo.toml:
toml
[dependencies]
rdkafka = { version = "0.2.13-alpha", package = "madsim-rdkafka" }
This crate roughly follows the rdkafka API but is NOT exactly the same.
The following functions are modified to be async:
FromClientConfig::from_configFromClientConfigAndContext::from_config_and_contextClientConfig::createClientConfig::create_with_contextClient::fetch_metadataClient::fetch_watermarksClient::fetch_group_listConsumer::seekConsumer::commitConsumer::commit_consumer_stateConsumer::commit_messageConsumer::committedConsumer::committed_offsetsConsumer::offsets_for_timestampConsumer::offsets_for_timesConsumer::fetch_metadataConsumer::fetch_watermarksConsumer::fetch_group_listProducer::flushProducer::init_transactionsProducer::send_offsets_to_transactionProducer::commit_transactionProducer::abort_transaction