@Override
    public void onLoaded(MetadataImage newImage) {
        MetadataDelta emptyDelta = new MetadataDelta(newImage);
        groupMetadataManager.onNewMetadataImage(newImage, emptyDelta);
        offsetMetadataManager.onNewMetadataImage(newImage, emptyDelta);
        coordinatorMetrics.activateMetricsShard(metricsShard);

        groupMetadataManager.onLoaded();
        scheduleGroupMetadataExpiration();
    }
The coordinator has been loaded. This is used to apply any
post loading operations (e.g. registering timers).

@param newImage  The metadata image.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorShard.java