Expand description
Controller configuration.
This module defines the controller configuration structure. The leaves of this structure are individual transport-specific and data-format-specific endpoint configs. We represent these configs as opaque JSON values, so that the entire configuration tree can be deserialized from a JSON file.
Re-exports§
pub use dev_tweaks::DevTweaks;
Modules§
Structs§
- Autoscaling
Config - Autoscaling policy for an instance of a pipeline.
- Connector
Config - File
Backend Config - Configuration for local file system access.
- Format
Config - Data format specification used to parse raw data received from the endpoint or to encode data sent to the endpoint.
- FtConfig
- Fault-tolerance configuration.
- FtModel
Unknown - The string does not name a fault tolerance model.
- Input
Endpoint Config - Describes an input connector configuration
- Legacy
Spelling - Which settings a runtime reads only in their older spelling, because it predates the release that renamed them.
- Multihost
Config - Configuration for a multihost Feldera pipeline.
- Object
Storage Config - Output
Buffer Config - Output
Endpoint Config - Describes an output connector configuration
- Pipeline
Config - Pipeline deployment configuration. It represents configuration entries directly provided by the user (e.g., runtime configuration) and entries derived from the schema of the compiled program (e.g., connectors). Storage configuration, if applicable, is set by the runner.
- Pipeline
Config Program Info - A subset of fields in
PipelineConfigthat are generated by the compiler. These fields are shipped to the pipeline by the compilation server along with the program binary. - Pipeline
Identity - Identity of a pipeline, used to record and check ownership of an S3 checkpoint bucket.
- Pipeline
Template Config - Configuration for supplying a custom pipeline StatefulSet template via a Kubernetes ConfigMap.
- Program
Ir - Program information included in the pipeline configuration.
- Resource
Config - Runtime
Config - Global pipeline configuration settings. This is the publicly exposed type for users to configure pipelines.
- Storage
Autoscaling Config - Storage autoscaling policy: expand storage from
storage_mintowardstorage_maxas it fills up. - Storage
Config - Configuration for persistent storage in a
PipelineConfig. - Storage
Options - Storage configuration for a pipeline.
- Sync
Config
Enums§
- FtModel
- Fault tolerance model.
- Start
From Checkpoint - Storage
Backend Config - Backend storage configuration.
- Storage
Cache Config - How to cache access to storage within a Feldera pipeline.
- Storage
Compression - Storage compression algorithm.
- Storage
Sync Mode - How a pipeline makes its files durable when it commits a checkpoint.
- Transport
Config - Transport-specific endpoint configuration passed to
crate::OutputTransport::new_endpointandcrate::InputTransport::new_endpoint.
Constants§
- DEFAULT_
CHECKPOINT_ INTERVAL - Default interval between automatic checkpoints.
- DEFAULT_
CLOCK_ RESOLUTION - Default resolution of the real-time clock that drives SQL
NOW(). - DEFAULT_
DATAFUSION_ MEMORY_ CEILING - Upper bound on the default DataFusion pool size.
- DEFAULT_
DATAFUSION_ MEMORY_ PERCENT - Default DataFusion pool size as a percentage of the pipeline’s effective memory budget. The remainder is left for the DBSP circuit.
- DEFAULT_
MAX_ WORKER_ BATCH_ SIZE - DEFAULT_
PULL_ INTERVAL - Default interval between standby checkpoint fetches.
- DEFAULT_
RETENTION_ MIN_ AGE - Default minimum age a checkpoint reaches before it may be deleted.
Functions§
- default_
max_ queued_ records - Default value of
ConnectorConfig::max_queued_records. - to_
legacy_ duration_ spelling - Rewrites the duration settings of a serialized pipeline configuration in the spelling that Feldera releases before the duration rename read: under the older key, as a whole number of the unit that key named.
- to_
legacy_ size_ spelling - Rewrites the size settings of a serialized pipeline configuration in the spelling that Feldera releases before the size rename read: under the older key, as a whole number of the unit that key named.