Skip to content

[c++][python][elixir] Expose explicit consumer offset commits and restore - #5470

Closed
naivedogger wants to merge 1 commit into
apache:mainfrom
naivedogger:codex/bindings-explicit-consumer-offsets
Closed

naivedogger wants to merge 1 commit into
apache:mainfrom
naivedogger:codex/bindings-explicit-consumer-offsets

Conversation

@naivedogger

Copy link
Copy Markdown
Contributor

Purpose

Closes #5469 (part of #5198). Exposes the Rust explicit offset APIs merged in #5201 to C++, Python and Elixir. This PR can merge independently of #5343 and #5344.

Brief change log

  • Resume manually assigned buckets on a single table from their saved next offsets. A bucket with no commit starts at earliest.
  • Commit processed offsets explicitly, synchronously or asynchronously, and query selected buckets with Admin. Preserve commit metadata, per-bucket failures and unknown outcomes. Failed delivery to the language runtime must not advance the application's confirmed progress.

Tests

Built and ran each binding against a local Fluss cluster. C++ committed an explicit offset and resumed with a new scanner; Python exercised failed and canceled poll delivery; Elixir verified stored metadata and resumed at the next record. Targeted Clippy passed.

API and Format

Adds language binding APIs for explicit commits and restore. No protocol or storage changes. Multi-table scanning, periodic commits, reset policies and group management are in #5344, on top of #5343.

Documentation

Updates the C++ and Python API references and the Elixir log tables guide.

@naivedogger naivedogger closed this Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[c++][python][elixir] Expose explicit consumer offset commits and restore

1 participant