Skip to main content

holds_a_topic

Function holds_a_topic 

Source
pub fn holds_a_topic(records: &[MetadataRecord]) -> bool
Expand description

Whether a checkpoint’s decoded records hold a topic.

The format-time checkpoint of a plain krabka format holds none. One that krabka-restore wrote holds the restored topics, and a controller’s periodic checkpoint holds every topic the cluster had.