Are the original offsets restored?
Not exactly, and this is a fundamental Kafka limitation rather than an Armory one.
Offsets are assigned by the broker when a record is appended to a partition. When a Restore produces records into a topic, Kafka assigns new, sequential offsets starting from the current end of the partition. There is no way to tell Kafka to reuse a specific offset.
To avoid losing this information, Armory preserves each record’s original offset in a record header. The data is still available after a restore, even though the physical offset on the new topic is different.
Mapping consumer groups
Section titled “Mapping consumer groups”Because the offsets change,
a consumer group’s committed offsets no longer point at the same records after a restore.
You can use the kbridge tool to translate the original offsets
(read from the record header)
into the new offsets and rewrite the consumer group’s committed positions accordingly.
The Migrate consumer groups tutorial walks through the full process. See also Are consumer groups migrated? for more detail.

