pub struct ProgramConfig {
pub cache: bool,
pub profile: Option<CompilationProfile>,
pub runtime_version: Option<String>,
}
Expand description
Program configuration.
JSON schema
{
"description": "Program configuration.",
"type": "object",
"properties": {
"cache": {
"description": "If `true` (default), when a prior compilation with the same checksum\nalready exists, the output of that (i.e., binary) is used.\nSet `false` to always trigger a new compilation, which might take longer\nand as well can result in overriding an existing binary.",
"default": true,
"type": "boolean"
},
"profile": {
"allOf": [
{
"$ref": "#/components/schemas/CompilationProfile"
}
]
},
"runtime_version": {
"description": "Override runtime version of the pipeline being executed.\n\nWarning: This option is experimental and may change in the future.\nShould only be used for CI/testing purposes, and requires network access.\n\nA runtime version can be specified in the form of a version\nor SHA taken from the `feldera/feldera` repository main branch.\n\nExamples: `v0.96.0` or `f4dcac0989ca0fda7d2eb93602a49d007cb3b0ae`\n\nA platform of version `0.x.y` may be capable of running future and past\nruntimes with versions `>=0.x.y` and `<=0.x.y` until breaking API changes happen,\nthe exact bounds for each platform version are unspecified until we reach a\nstable version. Compatibility is only guaranteed if platform and runtime version\nare exact matches.\n\nNote that any enterprise features are currently considered to be part of\nthe platform.\n\nIf not set (null), the runtime version will be the same as the platform version.",
"type": [
"string",
"null"
]
}
}
}
Fields§
§cache: bool
If true
(default), when a prior compilation with the same checksum
already exists, the output of that (i.e., binary) is used.
Set false
to always trigger a new compilation, which might take longer
and as well can result in overriding an existing binary.
profile: Option<CompilationProfile>
§runtime_version: Option<String>
Override runtime version of the pipeline being executed.
Warning: This option is experimental and may change in the future. Should only be used for CI/testing purposes, and requires network access.
A runtime version can be specified in the form of a version
or SHA taken from the feldera/feldera
repository main branch.
Examples: v0.96.0
or f4dcac0989ca0fda7d2eb93602a49d007cb3b0ae
A platform of version 0.x.y
may be capable of running future and past
runtimes with versions >=0.x.y
and <=0.x.y
until breaking API changes happen,
the exact bounds for each platform version are unspecified until we reach a
stable version. Compatibility is only guaranteed if platform and runtime version
are exact matches.
Note that any enterprise features are currently considered to be part of the platform.
If not set (null), the runtime version will be the same as the platform version.
Implementations§
Source§impl ProgramConfig
impl ProgramConfig
pub fn builder() -> ProgramConfig
Trait Implementations§
Source§impl Clone for ProgramConfig
impl Clone for ProgramConfig
Source§fn clone(&self) -> ProgramConfig
fn clone(&self) -> ProgramConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more