pub fn to_kraft_records(
rec: &MetadataRecord,
image: &MetadataImage,
) -> Result<Vec<KraftMetadataRecord>, TranslateError>Expand description
Convert a single MetadataRecord to one or more KIP-631 records.
Whole-map topic, client-metrics, and group configs fan out to one Config
record per set key plus one tombstone per removed key. Every other modeled
variant yields exactly one record.
ยงErrors
Same as to_kraft.