Repository navigation
[c++][python][elixir] Expose consumer offset management - #5344
Draft
naivedogger wants to merge 52 commits into
Draft
naivedogger wants to merge 52 commits into
naivedogger wants to merge 52 commits into
Conversation
Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 1305/1305 AI-Contributed/UT: 337/337
Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 0/0 AI-Contributed/UT: 5/5
Distinguish unsent RPC failures from uncertain writes so a closed connection does not permanently block consumer offset commits. Wait for partition readiness in the consumer offset integration fixture. Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 308/308 AI-Contributed/UT: 1/1
Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6.2-astra AI-Contributed/Feature: 126/126 AI-Contributed/UT: 7/7
Retry the same snapshot after a broken transport. Keep track of potentially late writes per bucket so a scanner can advance without risking skipped records when a caller rewinds. Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 202/202 AI-Contributed/UT: 72/72
Use the completed poll's exclusive offset for both records and Arrow batches. Reject negative explicit starting offsets without changing subscriptions. Separate Admin offset queries from scanner commit state and split the transport failure tests by outcome. Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 769/769 AI-Contributed/UT: 404/404
Add opt-in poll-triggered commits, shared multi-table scanners and consumer group listing, offset reset and deletion APIs. Preserve ordered commits and distinguish rejected mutations from unknown outcomes. Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 1028/1028 AI-Contributed/UT: 211/211
Expose scanner commits, restore and group administration through the Rust client. Preserve per-bucket failures and table-specific schemas. Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6.2-astra AI-Contributed/Feature: 2502/2502 AI-Contributed/UT: 384/384
Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6.2-astra AI-Contributed/Feature: 595/595 AI-Contributed/UT: 62/62
Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 19/19 AI-Contributed/UT: 16/16
Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 3/3 AI-Contributed/UT: 2/2
2 of 5 tasks
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 414/414 AI-Contributed/UT: 68/68
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 144/144 AI-Contributed/UT: 18/18
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 20/20 AI-Contributed/UT: 0/0
A stale owner can stall during the handshake before a commit is sent. Clear the cached endpoint on timeout so the next commit can find the new owner. Return an error before enqueueing outside a Tokio runtime. Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 21/21 AI-Contributed/UT: 30/30
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 106/106 AI-Contributed/UT: 0/0
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 586/586 AI-Contributed/UT: 106/106
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 639/639 AI-Contributed/UT: 109/109
A short poll can leave a committed-offset lookup holding the scanner alive. Cancel and join that lookup on close before draining offset commits. Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 14/14 AI-Contributed/UT: 50/50
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 14/14 AI-Contributed/UT: 50/50
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 91/91 AI-Contributed/UT: 0/0
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 121/121 AI-Contributed/UT: 33/33
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 50/50 AI-Contributed/UT: 37/37
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 162/162 AI-Contributed/UT: 49/49
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 58/58 AI-Contributed/UT: 12/12
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 150/150 AI-Contributed/UT: 21/21
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 337/337 AI-Contributed/UT: 44/44
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 64/64 AI-Contributed/UT: 0/0
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 85/85 AI-Contributed/UT: 0/0
Co-Authored-By: Codex <[email protected]> AI-Model: GPT-6 AI-Contributed/Feature: 85/85 AI-Contributed/UT: 0/0
Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 343/343 AI-Contributed/UT: 44/44
Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 386/386 AI-Contributed/UT: 44/44
Co-Authored-By: Codex <[email protected]> AI-Model: gpt-6 AI-Contributed/Feature: 983/983 AI-Contributed/UT: 115/115
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Closes #5342 (part 3 of #5198). Depends on #5343. Review only the bindings.
Brief change log
Expose consumer group restore, commits, multi-table scanning and offset administration in C++, Python and Elixir. All three bindings support earliest, latest, or none for buckets with no saved position. C++ supports deferred restore, table registration and bounded waiting for pending commits on close. Call CommitSync before Close to confirm final offsets. The bindings reuse the Rust client and report request and per-bucket outcomes, including writes whose outcome is unknown.
Tests
On the current revision, workspace Clippy passed for all targets, and the rebuilt C++, Python and Elixir bindings passed their consumer-offset integration tests against a local three-TabletServer cluster.
API and Format
Adds binding APIs. No wire or storage format changes.
Documentation
Updated the C++ and Python API references and the Elixir log tables guide.