@Override
    public void onNewMetadataImage(MetadataImage newImage, MetadataDelta delta) {
        groupMetadataManager.onNewMetadataImage(newImage, delta);
        offsetMetadataManager.onNewMetadataImage(newImage, delta);
    }
A new metadata image is available.

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