Expand description
Shared admin/IO helpers used by replicator engine tasks.
All functions return Result<_, String> and map client errors via
.map_err(|e| e.to_string()) so callers stay wire-error-agnostic.
Functionsยง
- ensure_
compacted_ topic - Ensure a compacted topic exists with 1 partition and 1 replica.
- ensure_
topic - Ensure
topicexists with the given parameters, treating an already-exists response as success. - read_
all - Drain all records from
topicfrom the earliest offset, returning(key, value)pairs in order. - read_
last_ value_ for_ key - Return the value bytes of the last record whose key equals
key.