public CHILD removeComponent(ComponentId componentId) {
        CHILD component = producerById.remove(componentId);
        if (component == null) return null;
        removeChild(component);
        return component;
    }
Removes a component by id

@return the removed component, or null if it was not present
config-model/src/main/java/com/yahoo/vespa/model/container/component/ConfigProducerGroup.java