public void event(final String namespaceId, final String updatePath, final String updateData, final String registerPath, final EventType eventType) {
        String realUpdatePath = StringUtils.substringAfter(updatePath, namespaceId);
        String realRegisterPath = StringUtils.substringAfter(registerPath, namespaceId);
        switch (realRegisterPath) {
            case DefaultPathConstants.PLUGIN_PARENT:
                pluginHandlerEvent(realUpdatePath, updateData, eventType);
                break;
            case DefaultPathConstants.SELECTOR_PARENT:
                selectorHandlerEvent(realUpdatePath, updateData, eventType);
                break;
            case DefaultPathConstants.META_DATA:
                metaDataHandlerEvent(realUpdatePath, updateData, eventType);
                break;
            case DefaultPathConstants.APP_AUTH_PARENT:
                appAuthHandlerEvent(realUpdatePath, updateData, eventType);
                break;
            case DefaultPathConstants.RULE_PARENT:
                ruleHandlerEvent(realUpdatePath, updateData, eventType);
                break;
            case DefaultPathConstants.DISCOVERY_UPSTREAM:
                discoveryUpstreamHandlerEvent(realUpdatePath, updateData, eventType);
                break;
            case DefaultPathConstants.PROXY_SELECTOR:
                proxyHandlerEvent(realUpdatePath, updateData, eventType);
                break;
            default:
                break;
        }
    }
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