Admit verified at-least-once Paimon consumer retention - #287
Merged
Merged
Conversation
Paimon's continuous enumerator already owns checkpointed consumer progress, and our source retains its split events and checkpoint serializers. Permit explicit at-least-once consumers with expiration configured after proving completed-checkpoint cursor advancement, restored reader offsets, fresh-job resumption and snapshot protection/expiration against the released source. Keep default/exactly-once consumers on their dedicated host topology and retain fallback for other unverified consumer options. Release+mimalloc whole-job comparisons on Flink 2.2.1 reduce median time 27-33% versus stock and 26-32% versus the prior host-source route at 2M rows across Parquet/ORC append and primary-key fixtures. Retain row conversions, all trials, startup variability and the unfavorable asymmetric-warmup pilot. Primary-key SQL blackhole still falls back at DropUpdateBefore; its measured control uses a full-changelog rowwise DataStream sink, documented explicitly. Validate 25 focused tests on each Flink 2.2.1/1.18.1 and Parquet/ORC combination, final 1.18 benchmark compilation, native module boundaries, and strict MkDocs. No native runtime or checkpoint format changes. Part of #27.
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.
Explicit Paimon 2.0
consumer.mode=at-least-oncesources with a configured expiration can now use native Parquet/ORC decoding. Previously every consumer ID forced the stock source, although the native reader already used Paimon's continuous enumerator, progress events and checkpoint serializers.Part of #27; this does not close the broader source-coverage issue. Default/exactly-once consumers retain Paimon's dedicated host topology. Other explicit consumer options remain gated. There are no JNI, runtime-reader or checkpoint-format changes.
Validation:
665dc10d, not a historical binary rebuild. Full ranges and every trial are in the connector docs and CSV.Coverage, reproduction command, sink limitations, variability and raw results are documented in
docs/connectors/paimon.mdanddocs/benchmarks/paimon-consumer-2026-09-28.csv.