Skip to main content

feldera_types/
constants.rs

1/// Name of the checkpoint list file.
2///
3/// File will be stored inside the runtime storage directory with this
4/// name.
5pub const CHECKPOINT_FILE_NAME: &str = "checkpoints.feldera";
6
7/// State of the pipeline.
8pub const STATE_FILE: &str = "state.json";
9
10/// Desired status (running, paused, etc.) of the pipeline.
11pub const STATUS_FILE: &str = "status.json";
12
13pub const STEPS_FILE: &str = "steps.bin";
14
15pub const CHECKPOINT_DEPENDENCIES: &str = "dependencies.json";
16
17pub const ADHOC_TEMP_DIR: &str = "adhoc-tmp";
18
19/// A slice of all file-extension the system can create.
20pub const DBSP_FILE_EXTENSION: &[&str] = &["mut", "feldera"];
21
22/// Extension for batch files used by the engine.
23pub const CREATE_FILE_EXTENSION: &str = ".feldera";
24
25/// File that marks the activation of a pipeline.
26pub const ACTIVATION_MARKER_FILE: &str = "activated.feldera";