Kafka replication is not a backup, so back up your topics to S3
Kafka replication is not a backup. MirrorMaker 2, Cluster Linking or any mirror copies what production does, so a bad producer write, a flood of tombstones or a shortened retention can reach the standby too. A real Kafka backup lives on separate storage with separate credentials, keeps history you can go back to, includes the Schema Registry _schemas topic, and comes with a plan for consumer offsets, because offsets are local to each cluster. This post shows how to back up Kafka topics to S3 with kaf-mirror, an open source (Apache 2.0) replication tool from Scalytics, and KafScale, a Kafka-compatible broker that stores immutable segments in S3. It is updated for kaf-mirror 2.0.0 and covers the replication halt switch (a tech preview) for a compromised source, how to restore, what 2.0 changes, and the limits you should know before you rely on it.