camel_processor/splitter.rs
1//! Split metadata property keys.
2//!
3//! The eager Split EIP runs as [`crate::SplitSegment`]; these constants are
4//! shared by the segment and by downstream metadata readers.
5
6// ── Metadata property keys ─────────────────────────────────────────────
7
8/// Property key for the zero-based index of a fragment within the split.
9pub const CAMEL_SPLIT_INDEX: &str = "CamelSplitIndex";
10/// Property key for the total number of fragments produced by the split.
11pub const CAMEL_SPLIT_SIZE: &str = "CamelSplitSize";
12/// Property key indicating whether this fragment is the last one.
13pub const CAMEL_SPLIT_COMPLETE: &str = "CamelSplitComplete";