Skip to content

[rust] Add explicit consumer offset commits and restore - #5201

Open
naivedogger wants to merge 12 commits into
apache:mainfrom
naivedogger:codex/consumer-offset-rust-base
Open

naivedogger wants to merge 12 commits into
apache:mainfrom
naivedogger:codex/consumer-offset-rust-base

Conversation

@naivedogger

@naivedogger naivedogger commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Closes #5200

Co-Authored-By: Codex <noreply@openai.com>
AI-Model: gpt-6
AI-Contributed/Feature: 1305/1305
AI-Contributed/UT: 337/337
@naivedogger

naivedogger commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor Author

@fresh-borzoni @pisceslj PTAL, thanks!

naivedogger and others added 3 commits November 13, 2026 13:43
Co-Authored-By: Codex <noreply@openai.com>
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 <noreply@openai.com>
AI-Model: gpt-6
AI-Contributed/Feature: 308/308
AI-Contributed/UT: 1/1
Co-Authored-By: Codex <noreply@openai.com>
AI-Model: gpt-6.2-astra
AI-Contributed/Feature: 126/126
AI-Contributed/UT: 7/7
@naivedogger

naivedogger commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

cc @gyang94 @loserwang1024 🙏

naivedogger and others added 2 commits November 18, 2026 14:36
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 <noreply@openai.com>
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 <noreply@openai.com>
AI-Model: gpt-6
AI-Contributed/Feature: 769/769
AI-Contributed/UT: 404/404
naivedogger and others added 6 commits November 24, 2026 17:25
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 <noreply@openai.com>
AI-Model: gpt-6
AI-Contributed/Feature: 21/21
AI-Contributed/UT: 30/30
Co-Authored-By: Codex <noreply@openai.com>
AI-Model: GPT-6
AI-Contributed/Feature: 106/106
AI-Contributed/UT: 0/0
Co-Authored-By: Codex <noreply@openai.com>
AI-Model: GPT-6
AI-Contributed/Feature: 121/121
AI-Contributed/UT: 33/33
Co-Authored-By: Codex <noreply@openai.com>
AI-Model: GPT-6
AI-Contributed/Feature: 58/58
AI-Contributed/UT: 12/12
Co-Authored-By: Codex <noreply@openai.com>
AI-Model: GPT-6
AI-Contributed/Feature: 64/64
AI-Contributed/UT: 0/0
Co-Authored-By: Codex <noreply@openai.com>
AI-Model: gpt-6
AI-Contributed/Feature: 343/343
AI-Contributed/UT: 44/44
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.

[rust] Add explicit consumer offset commits and restore

1 participant