Skip to content

[rust][c++] Support multi-table log scanning - #5493

Open
naivedogger wants to merge 1 commit into
apache:mainfrom
naivedogger:codex/multi-table-scanner-split
Open

naivedogger wants to merge 1 commit into
apache:mainfrom
naivedogger:codex/multi-table-scanner-split

Conversation

@naivedogger

Copy link
Copy Markdown
Contributor

Purpose

Closes #5492. A reader can poll manually assigned buckets from several tables using one Rust or C++ scanner. Based on main; #5343 is not a prerequisite.

Brief change log

  • Register tables and subscribe their buckets at explicit offsets. Record and Arrow results retain the source table and schema. A ready table can make progress while another refreshes its leader metadata.
  • Optionally use one consumer group to restore and explicitly commit positions across tables. A reader that manages its own progress needs no group.

Tests

Rust core and C++ bridge unit suites; Rust multi-table integration and native C++ record/Arrow tests against a local Fluss cluster. The C++ test reads two different schemas without a group, then commits and restores offsets with a group. Rust formatting and targeted Clippy passed.

API and Format

Adds multi-table scanner factories, registration, and table-qualified subscription to the Rust and C++ SDKs. No wire or storage format changes.

Documentation

Updated the main site's Rust and C++ API references.

  • Yes — OpenAI Codex assisted with implementation, tests, and documentation.

Co-Authored-By: Codex <noreply@openai.com>
AI-Model: GPT-6
AI-Contributed/Feature: 971/971
AI-Contributed/UT: 158/158
@naivedogger

Copy link
Copy Markdown
Contributor Author

@loserwang1024 @fresh-borzoni Appreciate a review here, thanks! 🙏

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][c++] Support manually assigned multi-table log scans

1 participant