private void discoveryUpstreamHandlerEvent(final String updatePath, final String updateData, final EventType eventType) {
        String[] pathInfoArray2 = updatePath.split("/");
        if (pathInfoArray2.length != 5) {
            return;
        }
        if (!EventType.DELETE.equals(eventType)) {
            Optional.ofNullable(updateData)
                    .ifPresent(e -> cacheDiscoveryUpstreamData(GsonUtils.getInstance().fromJson(updateData, DiscoverySyncData.class)));
        }
    }
event.

@param namespaceId namespaceId
@param updatePath updatePath
@param updateData updateData
@param registerPath registerPath
@param eventType eventType
shenyu-sync-data-center/shenyu-sync-data-api/src/main/java/org/apache/shenyu/sync/data/core/AbstractPathDataSyncService.java