Module config

Source
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
SystemConfig is used to initialize system parameters persisted in Meta store.
udf
utils

Structs§

RpcClientConfig
[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
RwConfig corresponds to the whole config file risingwave.toml. Each field corresponds to a section.

Enums§

MetricLevel

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§

OverrideConfig
Sections in the configuration file can use #[derive(OverrideConfig)] to generate the implementation of overwriting configs from the file.