Skip to main content

Module config

Module config 

Source
Expand description

Streaming API configuration types.

This module defines configuration types for channels, sources, and sinks.

Structs§

ChannelConfig
Configuration for a streaming channel.
ChannelConfigBuilder
Builder for ChannelConfig.
ChannelStats
Statistics for a channel.
SinkConfig
Configuration for a Sink.
SourceConfig
Configuration for a Source.

Enums§

BackpressureStrategy
Backpressure strategy when buffer is full.
WaitStrategy
Wait strategy for consumers when channel is empty.

Constants§

DEFAULT_BUFFER_SIZE
Default buffer size for channels (128KB worth of 64-byte cache lines).
MAX_BUFFER_SIZE
Maximum buffer size (prevent excessive memory usage).
MIN_BUFFER_SIZE
Minimum buffer size (must hold at least a few items).