pub struct StreamingDeveloperConfig {Show 25 fields
pub enable_executor_row_count: bool,
pub connector_message_buffer_size: usize,
pub unsafe_extreme_cache_size: usize,
pub chunk_size: usize,
pub exchange_initial_permits: usize,
pub exchange_batched_permits: usize,
pub exchange_concurrent_barriers: usize,
pub exchange_concurrent_dispatchers: usize,
pub dml_channel_initial_permits: usize,
pub hash_agg_max_dirty_groups_heap_size: usize,
pub memory_controller_threshold_aggressive: f64,
pub memory_controller_threshold_graceful: f64,
pub memory_controller_threshold_stable: f64,
pub memory_controller_eviction_factor_aggressive: f64,
pub memory_controller_eviction_factor_graceful: f64,
pub memory_controller_eviction_factor_stable: f64,
pub memory_controller_update_interval_ms: usize,
pub memory_controller_sequence_tls_step: u64,
pub memory_controller_sequence_tls_lag: u64,
pub enable_arrangement_backfill: bool,
pub high_join_amplification_threshold: usize,
pub enable_actor_tokio_metrics: bool,
pub exchange_connection_pool_size: Option<u16>,
pub enable_auto_schema_change: bool,
pub enable_shared_source: bool,
}
Expand description
The subsections [streaming.developer]
.
It is put at StreamingConfig::developer
.
Fields§
§enable_executor_row_count: bool
Set to true to enable per-executor row count metrics. This will produce a lot of timeseries
and might affect the prometheus performance. If you only need actor input and output
rows data, see stream_actor_in_record_cnt
and stream_actor_out_record_cnt
instead.
connector_message_buffer_size: usize
The capacity of the chunks in the channel that connects between ConnectorSource
and
SourceExecutor
.
unsafe_extreme_cache_size: usize
Limit number of the cached entries in an extreme aggregation call.
chunk_size: usize
The maximum size of the chunk produced by executor at a time.
exchange_initial_permits: usize
The initial permits that a channel holds, i.e., the maximum row count can be buffered in the channel.
exchange_batched_permits: usize
The permits that are batched to add back, for reducing the backward AddPermits
messages
in remote exchange.
exchange_concurrent_barriers: usize
The maximum number of concurrent barriers in an exchange channel.
exchange_concurrent_dispatchers: usize
The concurrency for dispatching messages to different downstream jobs.
1
means no concurrency, i.e., dispatch messages to downstream jobs one by one.0
means unlimited concurrency.
dml_channel_initial_permits: usize
The initial permits for a dml channel, i.e., the maximum row count can be buffered in the channel.
hash_agg_max_dirty_groups_heap_size: usize
The max heap size of dirty groups of HashAggExecutor
.
memory_controller_threshold_aggressive: f64
§memory_controller_threshold_graceful: f64
§memory_controller_threshold_stable: f64
§memory_controller_eviction_factor_aggressive: f64
§memory_controller_eviction_factor_graceful: f64
§memory_controller_eviction_factor_stable: f64
§memory_controller_update_interval_ms: usize
§memory_controller_sequence_tls_step: u64
§memory_controller_sequence_tls_lag: u64
§enable_arrangement_backfill: bool
Enable arrangement backfill
If false, the arrangement backfill will be disabled,
even if session variable set.
If true, it’s decided by session variable streaming_use_arrangement_backfill
(default true)
high_join_amplification_threshold: usize
If number of hash join matches exceeds this threshold number, it will be logged.
enable_actor_tokio_metrics: bool
Actor tokio metrics is enabled if enable_actor_tokio_metrics
is set or metrics level >= Debug.
exchange_connection_pool_size: Option<u16>
The number of the connections for streaming remote exchange between two nodes.
If not specified, the value of server.connection_pool_size
will be used.
enable_auto_schema_change: bool
A flag to allow disabling the auto schema change handling
Enable shared source
If false, the shared source will be disabled,
even if session variable set.
If true, it’s decided by session variable streaming_use_shared_source
(default true)
Implementations§
Trait Implementations§
source§impl Clone for StreamingDeveloperConfig
impl Clone for StreamingDeveloperConfig
source§fn clone(&self) -> StreamingDeveloperConfig
fn clone(&self) -> StreamingDeveloperConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamingDeveloperConfig
impl Debug for StreamingDeveloperConfig
source§impl Default for StreamingDeveloperConfig
impl Default for StreamingDeveloperConfig
source§impl<'de> Deserialize<'de> for StreamingDeveloperConfig
impl<'de> Deserialize<'de> for StreamingDeveloperConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for StreamingDeveloperConfig
impl RefUnwindSafe for StreamingDeveloperConfig
impl Send for StreamingDeveloperConfig
impl Sync for StreamingDeveloperConfig
impl Unpin for StreamingDeveloperConfig
impl UnwindSafe for StreamingDeveloperConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
source§impl<M> MetricVecRelabelExt for M
impl<M> MetricVecRelabelExt for M
source§fn relabel(
self,
metric_level: MetricLevel,
relabel_threshold: MetricLevel,
) -> RelabeledMetricVec<M>
fn relabel( self, metric_level: MetricLevel, relabel_threshold: MetricLevel, ) -> RelabeledMetricVec<M>
RelabeledMetricVec::with_metric_level
.source§fn relabel_n(
self,
metric_level: MetricLevel,
relabel_threshold: MetricLevel,
relabel_num: usize,
) -> RelabeledMetricVec<M>
fn relabel_n( self, metric_level: MetricLevel, relabel_threshold: MetricLevel, relabel_num: usize, ) -> RelabeledMetricVec<M>
RelabeledMetricVec::with_metric_level_relabel_n
.source§fn relabel_debug_1(
self,
relabel_threshold: MetricLevel,
) -> RelabeledMetricVec<M>
fn relabel_debug_1( self, relabel_threshold: MetricLevel, ) -> RelabeledMetricVec<M>
RelabeledMetricVec::with_metric_level_relabel_n
with metric_level
set to
MetricLevel::Debug
and relabel_num
set to 1.