Skip to content

Conversation

Copy link
Contributor

@AhmedSoliman AhmedSoliman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this one better. Thanks for making the API more uniform.

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :-)

/// Not cancellation safe. Every call will attempt to acquire capacity on the channel and send
/// a new message to the appender.
pub async fn notify_committed(&self) -> Result<(), EnqueueError<()>> {
pub async fn notify_committed(&self) -> Result<CommitToken, EnqueueError<()>> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe update the docs to reflect the new contract.

@muhamadazmy muhamadazmy force-pushed the pr3968 branch 18 times, most recently from 03cf056 to eeb457f Compare December 4, 2025 10:58
@muhamadazmy muhamadazmy force-pushed the pr3968 branch 6 times, most recently from 9780007 to 19f4b7a Compare December 11, 2025 08:43
- `ingestion-client` implements the runtime layer that receives WAL envelopes, fans it out to the correct partition, and tracks completion. It exposes:
  - `IngestionClient`, enforces inflight budgets, and resolves partition IDs before sending work downstream.
  - The session subsystem that batches `IngestRecords`, retries connections, and reports commit status to callers.
- `ingestion-client` only ingests records and notify the caller once the record is "committed" to bifrost by the PP. This makes it useful to implement kafka ingress and other external ingestion
@muhamadazmy muhamadazmy merged commit db93735 into restatedev:main Dec 17, 2025
58 checks passed
@muhamadazmy muhamadazmy deleted the pr3968 branch December 17, 2025 08:38
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants