@Override
    public void onUnloaded() {
        timer.cancel(GROUP_EXPIRATION_KEY);
        coordinatorMetrics.deactivateMetricsShard(metricsShard);
        groupMetadataManager.onUnloaded();
    }
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