Skip to main content

CdcCheckpointStore

Trait CdcCheckpointStore 

Source
pub trait CdcCheckpointStore:
    Send
    + Sync
    + 'static {
    // Required methods
    fn load(&self, slot: &str) -> CdcResult<Option<CdcOffset>>;
    fn store(&self, offset: &CdcOffset) -> CdcResult<()>;
}
Expand description

Durable checkpoint store used to resume a source after process restart.

Required Methods§

Source

fn load(&self, slot: &str) -> CdcResult<Option<CdcOffset>>

Source

fn store(&self, offset: &CdcOffset) -> CdcResult<()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§