public void saveOrUpdateSelectorData(final SelectorData selectorData) {
        subscriber.onSelectorSubscribe(selectorData);
        DiscoverySyncData discoverySyncData = new DiscoverySyncData();
        discoverySyncData.setSelectorName(selectorData.getName());
        discoverySyncData.setSelectorId(selectorData.getId());
        discoverySyncData.setPluginName(selectorData.getPluginName());
        discoverySyncData.setUpstreamDataList(convert(selectorData.getPluginName(), selectorData.getHandle()));
        saveOrUpdateDiscoveryUpstreamData(discoverySyncData);
    }
Save or update SelectorData by SelectorData.

@param selectorData SelectorData
shenyu-kubernetes-controller/src/main/java/org/apache/shenyu/k8s/repository/ShenyuCacheRepository.java