Expand description
Official gRPC client for the Rerun Data Protocol.
Structs§
- ApiError
- ApiResponse
Stream - A stream that optionally carries a server-assigned trace-id from the initial gRPC response metadata.
- Connection
- Connection capabilities for a redap origin.
- Connection
Analytics Exporter - Analytics-side capability handed to
re_datafusion. - Connection
Registry - Connection
Registry Handle - Registry of all tokens and connections to the redap servers.
- Pool
Channel - A pool of HTTP/2 connections to a single origin, dispatching each request to the least-loaded connection.
- Redap
Client - Expose an ergonomic API over the gRPC redap client.
- Segment
Chunk Provider - gRPC-backed
ChunkProvider: serves the manifest of a single dataset segment and fetches its chunks on demand viaFetchChunks. - Segment
Download - Which parts of a segment to stream from the server.
- Segment
Query Params - Sourced
Credentials - Streaming
Options - Options that control how segment data is streamed from the server.
- Tonic
Status Error - Wrapper with a nicer error message
- TraceId
- Re-export of
opentelemetry::TraceIdfor callers constructingApiErrors without taking a direct dependency onopentelemetry. A 16-byte value which identifies a given trace.
Enums§
- ApiError
Kind - Client
Credentials Error - Possible errors when creating a connection.
- Credential
Source - Credentials
Constants§
- FETCH_
CHUNKS_ DEADLINE - Per-call deadline for
FetchChunksrequests sent via this client. - MAX_
DECODING_ MESSAGE_ SIZE
Functions§
- channel
- extract_
trace_ id - Extract the server’s trace-id from gRPC response metadata, if present.
- fetch_
chunks_ response_ to_ chunk_ and_ segment_ id - stream_
blueprint_ and_ segment_ from_ server - Stream a recording segment from a catalog server, including its registered default blueprint.
- stream_
table_ blueprint_ segment_ from_ server - Stream a registered
.rblblueprint segment into an existing log channel. - table_
blueprint_ log_ channel - Create a log channel for streaming a table blueprint from a catalog server.
- with_
retry - Execute requests or connection attempts with retries, using the existing
CONNECTION_RETRY_POLICY(retries anyApiErrorKind::is_retryableerror). - with_
retry_ resource_ exhausted - Execute an idempotent, fail-fast read with retries that fire only on
ApiErrorKind::ResourcesExhausted, usingRESOURCE_EXHAUSTED_RETRY_POLICY.
Type Aliases§
- ApiResult
- Convenience for
Result<T, ApiError> - Boxed
Redap Client Stack - Chunks
With Segment - Converts a
FetchChunksStreamstream into a stream ofChunks. - Connection
Client - Type alias for the boxed-transport
RedapClientused in the viewer. - Fetch
Chunks Response Stream - Redap
Client Stack