pub trait CdcSourceRuntimeFlags: CdcSourceTypeTrait {
const CAN_BACKFILL: bool = false;
const CAN_BACKFILL_IN_PARALLEL: bool = false;
const CAN_USE_TRANSACTION_METADATA: bool = false;
const NEEDS_NON_EMPTY_INITIAL_OFFSET: bool = false;
const NEEDS_OFFSET_COMMIT_ON_CHECKPOINT: bool = false;
}Expand description
Behavior switches.
Provided Associated Constants§
Sourceconst CAN_BACKFILL: bool = false
const CAN_BACKFILL: bool = false
When true, only shared sources are supported; otherwise only direct sources are supported.
Sourceconst CAN_BACKFILL_IN_PARALLEL: bool = false
const CAN_BACKFILL_IN_PARALLEL: bool = false
When true, the planner may choose parallelized backfill.
Sourceconst CAN_USE_TRANSACTION_METADATA: bool = false
const CAN_USE_TRANSACTION_METADATA: bool = false
When true, a shared source sets Debezium’s provide.transaction.metadata, so that all rows
of one upstream transaction go into a single chunk.
Sourceconst NEEDS_NON_EMPTY_INITIAL_OFFSET: bool = false
const NEEDS_NON_EMPTY_INITIAL_OFFSET: bool = false
When true, the source executor waits for a non-empty split offset before reporting the initial CDC offset.
Sourceconst NEEDS_OFFSET_COMMIT_ON_CHECKPOINT: bool = false
const NEEDS_OFFSET_COMMIT_ON_CHECKPOINT: bool = false
When true, the consumed offset is committed back to the upstream database on each checkpoint via a JNI call.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".