Expand description
In-memory streaming API — a bounded Source queue drained by its single Sink.
Re-exports§
pub use channel::channel;pub use channel::AsyncConsumer;pub use channel::Producer;pub use checkpoint::StreamCheckpointConfig;pub use config::BackpressureStrategy;pub use config::ChannelConfig;pub use config::SourceConfig;pub use config::WaitStrategy;pub use error::RecvError;pub use error::StreamingError;pub use error::TryPushError;pub use sink::Sink;pub use source::create_for_schema_planning;pub use source::create;pub use source::create_with_config;pub use source::Record;pub use source::Source;
Modules§
- channel
- Bounded MPSC channel backed by crossfire.
- checkpoint
- Streaming checkpoint configuration.
- config
- Configuration types for channels, sources, and sinks.
- error
- Streaming error types.
- sink
- Sink — the single consumer of a source’s bounded queue.
- source
- Source — entry point for data into a streaming pipeline.
Constants§
- DEFAULT_
SOURCE_ MAX_ QUEUED_ BYTES - Default Arrow-byte limit per source for batches its sink has not yet received (64 MiB).
- MAX_
SOURCE_ QUEUED_ BYTES - Largest byte limit supported by source semaphore reservations.
Functions§
- retained_
arrow_ bytes - Arrow-reported retained array storage plus fixed batch/column charges.
- validate_
source_ max_ queued_ bytes - Validates an in-process source’s Arrow-byte limit.