synchronized SnapshotRegistry snapshotRegistry() {
        return this.snapshotRegistry;
    }
@return The snapshot registry.

Only used for testing.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/runtime/SnapshottableCoordinator.java