Expand description
This pub module defines the structure of the configuration file risingwave.toml.
RwConfig corresponds to the whole config file and each other config struct corresponds to a
section in risingwave.toml.
Re-exports§
pub use batch::BatchConfig;pub use frontend::FrontendConfig;pub use meta::CompactionConfig;pub use meta::DefaultParallelism;pub use meta::MetaBackend;pub use meta::MetaConfig;pub use meta::MetaStoreConfig;pub use streaming::AsyncStackTraceOption;pub use streaming::StreamingConfig;pub use server::HeapProfilingConfig;pub use server::ServerConfig;pub use udf::UdfConfig;pub use storage::CacheEvictionConfig;pub use storage::EvictionConfig;pub use storage::ObjectStoreConfig;pub use storage::StorageConfig;pub use storage::StorageMemoryConfig;pub use storage::extract_storage_memory_config;pub use system::SystemConfig;pub use utils::*;
Modules§
- batch
- default
- frontend
- meta
- server
- storage
- streaming
- system
SystemConfigis used to initialize system parameters persisted in Meta store.- udf
- utils
Structs§
- RpcClient
Config [meta.developer.meta_compute_client_config][meta.developer.meta_stream_client_config][meta.developer.meta_frontend_client_config][batch.developer.batch_compute_client_config][batch.developer.batch_frontend_client_config][streaming.developer.stream_compute_client_config]- RwConfig
RwConfigcorresponds to the whole config filerisingwave.toml. Each field corresponds to a section.
Enums§
Constants§
- MAX_
BLOCK_ CACHE_ SHARD_ BITS - MAX_
CONNECTION_ WINDOW_ SIZE - Use the maximum value for HTTP/2 connection window size to avoid deadlock among multiplexed streams on the same connection.
- MAX_
META_ CACHE_ SHARD_ BITS - MIN_
BUFFER_ SIZE_ PER_ SHARD - STREAM_
WINDOW_ SIZE - Use a large value for HTTP/2 stream window size to improve the performance of remote exchange, as we don’t rely on this for back-pressure.
Derive Macros§
- Override
Config - Sections in the configuration file can use
#[derive(OverrideConfig)]to generate the implementation of overwriting configs from the file.