Expand description
Streaming API configuration types.
This module defines configuration types for channels, sources, and sinks.
Structs§
- Channel
Config - Configuration for a streaming channel.
- Channel
Config Builder - Builder for
ChannelConfig. - Channel
Stats - Statistics for a channel.
- Sink
Config - Configuration for a Sink.
- Source
Config - Configuration for a Source.
Enums§
- Backpressure
Strategy - Backpressure strategy when buffer is full.
- Wait
Strategy - 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).