s2-sdk-rust
s2-sdk-rust copied to clipboard
Rust SDK for S2, the durable streams API
# Detail Bug Report https://app.detail.dev/org_89d327b3-b883-4365-b6a3-46b6701342a9/bugs/bug_c5443197-91f7-4fe1-85f3-cdb2376c2e40 # Summary - **Context**: `S2DateTime` is a wrapper around `time::OffsetDateTime` used throughout the SDK to represent timestamps in the S2 API (e.g., in basin, stream,...
# Detail Bug Report https://app.detail.dev/org_89d327b3-b883-4365-b6a3-46b6701342a9/bugs/bug_23a4f33d-e08f-48b6-a59c-38fb0eaf7149 # Summary - **Context**: The `Producer` batches individual `AppendRecord`s and uses an internal async run loop to manage pending acknowledgments, batch submissions, and error handling....
# Detail Bug Report https://app.detail.dev/org_89d327b3-b883-4365-b6a3-46b6701342a9/bugs/bug_4c523f4f-55fd-4e6e-a34d-d7317a3bafed # Summary - **Context**: The `Producer::run()` function manages record batching and submission to an append session, handling close requests via a oneshot channel. - **Bug**:...
# Detail Bug Report https://app.detail.dev/org_89d327b3-b883-4365-b6a3-46b6701342a9/bugs/bug_b954d123-7a94-4272-b2b2-3e9169b024aa # Summary - **Context**: The `auto_prefix_streams` field in `IssueAccessTokenInput` controls whether stream names are automatically prefixed during creation and listing operations when issuing access tokens....
# Detail Bug Report https://app.detail.dev/org_89d327b3-b883-4365-b6a3-46b6701342a9/bugs/bug_6c33f00a-110b-4133-9b9c-3e837e728a82 # Summary - **Context**: The `append_session` method establishes a streaming session to append records to a stream. - **Bug**: When the server returns an initial...
# Detail Bug Report https://app.detail.dev/org_89d327b3-b883-4365-b6a3-46b6701342a9/bugs/bug_0df27acc-3eb8-49ed-910d-5379ab38800d # Summary - **Context**: The `resend` function in `src/session/append.rs` handles resending inflight appends when an append session reconnects after a connection failure. - **Bug**: The...
# Detail Bug Report https://app.detail.dev/org_89d327b3-b883-4365-b6a3-46b6701342a9/bugs/bug_b35409cd-d5e1-4572-b5f9-e4ee0e4f7298 # Summary - **Context**: The retry logic in `src/api.rs` determines whether to retry failed requests based on HTTP status codes and error classification. - **Bug**:...
# Detail Bug Report https://app.detail.dev/org_89d327b3-b883-4365-b6a3-46b6701342a9/bugs/bug_2c88a80e-545f-4de4-a389-eccedfa7362c # Summary - **Context**: The `RetryBackoff` struct in `src/retry.rs` is an iterator that yields retry delays with exponential backoff, used throughout the retry logic in...
# Detail Bug Report https://app.detail.dev/org_89d327b3-b883-4365-b6a3-46b6701342a9/bugs/bug_90261067-0dc3-46e8-9ff5-a8b6637119b6 # Summary - **Context**: The `read_session` function in `src/ops.rs` creates a streaming read session that fetches records from the S2 API with optional record count/byte...
# Detail Bug Report https://app.detail.dev/org_89d327b3-b883-4365-b6a3-46b6701342a9/bugs/bug_b0adc00f-a0a1-48c5-b23f-2c05ae2ba446 # Summary - **Context**: The `BatchingConfig` struct provides configuration for batching `AppendRecord`s, allowing users to set maximum batch size constraints via `with_max_batch_records()` and `with_max_batch_bytes()` methods....