pub async fn setup_datanode_plugins_post_build(
plugins: &mut Plugins,
plugin_options: &[PluginOptions],
builder: &DatanodeBuilder,
) -> Result<()>Expand description
Sets up datanode plugins after the DatanodeBuilder is constructed
but before DatanodeBuilder::build().
Plugins can read context from the builder (e.g., kv_backend, options)
and insert additional plugins. After this call, DatanodeBuilder::set_plugins()
should be called to sync plugins into the builder.