Skip to main content

Module config

Module config 

Source
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§

dev_tweaks
ignored
Finds configuration settings that deserialization ignores.

Structs§

AutoscalingConfig
Autoscaling policy for an instance of a pipeline.
ConnectorConfig
DynamicConfig
The part of a pipeline’s config that can change while the pipeline runs.
DynamicResources
CPU and memory, the only fields that can change while the pipeline runs.
FileBackendConfig
Configuration for local file system access.
FormatConfig
Data format specification used to parse raw data received from the endpoint or to encode data sent to the endpoint.
FtConfig
Fault-tolerance configuration.
FtModelUnknown
The string does not name a fault tolerance model.
InputEndpointConfig
Describes an input connector configuration
LegacySpelling
Which settings a runtime reads only in their older spelling, because it predates the release that renamed them.
MultihostConfig
Configuration for a multihost Feldera pipeline.
ObjectStorageConfig
OutputBufferConfig
OutputEndpointConfig
Describes an output connector configuration
PipelineConfig
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.
PipelineConfigProgramInfo
A subset of fields in PipelineConfig that are generated by the compiler. These fields are shipped to the pipeline by the compilation server along with the program binary.
PipelineIdentity
Identity of a pipeline, used to record and check ownership of an S3 checkpoint bucket.
PipelineTemplateConfig
Configuration for supplying a custom pipeline StatefulSet template via a Kubernetes ConfigMap.
ProgramIr
Program information included in the pipeline configuration.
ResourceConfig
RuntimeConfig
Global pipeline configuration settings. This is the publicly exposed type for users to configure pipelines.
StorageAutoscalingConfig
Storage autoscaling policy: expand storage from storage_min toward storage_max as it fills up.
StorageConfig
Configuration for persistent storage in a PipelineConfig.
StorageOptions
Storage configuration for a pipeline.
SyncConfig
UdfLibrary
A program’s UDF library, named by the same checksums as a pipeline binary.

Enums§

FtModel
Fault tolerance model.
StartFromCheckpoint
StorageBackendConfig
Backend storage configuration.
StorageCacheConfig
How to cache access to storage within a Feldera pipeline.
StorageCompression
Storage compression algorithm.
StorageSyncMode
How a pipeline makes its files durable when it commits a checkpoint.
TransportConfig
Transport-specific endpoint configuration passed to crate::OutputTransport::new_endpoint and crate::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.