Skip to main content

Module replication

Module replication 

Source
Expand description

Provider-neutral replication primitives shared by HTTP and native callers.

The service in this module deliberately owns protocol semantics, not transport or Cloud policy. A caller supplies a ThingStore and may use the same source-feed, snapshot, and replica-apply behavior from an HTTP handler, an embedded Rust application, or a future native binding.

Structs§

ReplicationApplyResult
Result of applying a change batch.
ReplicationChange
A single durable source change in the public replication envelope.
ReplicationConfig
Engine-level replication configuration.
ReplicationPage
A page from a source replication feed.
ReplicationService
Backend-neutral replication operations over a Thingd store.
ReplicationSnapshot
A bootstrap snapshot for a stale or new replica.
ReplicationStatus
Current source or replica replication state.

Enums§

ReplicationRole
Whether a store accepts normal writes or replication applies.

Constants§

REPLICATION_PROVENANCE_COLLECTION
The protected collection containing source provenance.
REPLICATION_QUARANTINE_COLLECTION
The protected collection containing quarantined conflicts.
REPLICATION_STATE_COLLECTION
The protected collection containing target checkpoints.
REPLICATION_STREAM
The protected event stream containing source changes.
REPLICATION_TOMBSTONE_COLLECTION
The protected collection containing source deletion tombstones.