SnapshotRegistry snapshotRegistry() {
        return snapshotRegistry;
    }
@return The SnapshotRegistry used by this offset control manager.
metadata/src/main/java/org/apache/kafka/controller/OffsetControlManager.java