Function solana_accountsdb_plugin_kafka::_create_plugin
source · [−]#[no_mangle]
pub unsafe extern "C" fn _create_plugin() -> *mut dyn GeyserPlugin
Expand description
Safety
This function returns a pointer to the Kafka Plugin box implementing trait GeyserPlugin.
The Solana validator and this plugin must be compiled with the same Rust compiler version and Solana core version. Loading this plugin with mismatching versions is undefined behavior and will likely cause memory corruption.