pub type PbStreamFragmentGraph = StreamFragmentGraph;Aliased Type§
pub struct PbStreamFragmentGraph {
pub fragments: HashMap<u32, StreamFragment>,
pub edges: Vec<StreamFragmentEdge>,
pub dependent_table_ids: Vec<TypedId<1>>,
pub table_ids_cnt: u32,
pub ctx: Option<StreamContext>,
pub parallelism: Option<Parallelism>,
pub max_parallelism: u32,
pub backfill_order: Option<BackfillOrder>,
}Fields§
§fragments: HashMap<u32, StreamFragment>all the fragments in the graph.
edges: Vec<StreamFragmentEdge>edges between fragments.
dependent_table_ids: Vec<TypedId<1>>§table_ids_cnt: u32§ctx: Option<StreamContext>§parallelism: Option<Parallelism>If none, default parallelism will be applied.
max_parallelism: u32Specified max parallelism, i.e., expected vnode count for the graph.
The scheduler on the meta service will use this as a hint to decide the vnode count for each fragment.
Note that the actual vnode count may be different from this value. For example, a no-shuffle exchange between current fragment graph and an existing upstream fragment graph requires two fragments to be in the same distribution, thus the same vnode count.
backfill_order: Option<BackfillOrder>The backfill order strategy for the fragments.