mito2::engine

Function prepare_batch_open_requests

Source
fn prepare_batch_open_requests(
    requests: Vec<(RegionId, RegionOpenRequest)>,
) -> Result<(HashMap<String, Vec<(RegionId, RegionOpenRequest)>>, Vec<(RegionId, RegionOpenRequest)>)>
Expand description

Returns requests(TopicGroupedRegionOpenRequests) grouped by topic and remaining requests.