@Override
    public void onAppAuthChanged(final List<AppAuthData> appAuthDataList, final DataEventTypeEnum eventType) {
        WebsocketData<AppAuthData> configData =
                new WebsocketData<>(ConfigGroupEnum.APP_AUTH.name(), eventType.name(), appAuthDataList);
        if (CollectionUtils.isNotEmpty(appAuthDataList)) {
            String namespaceId = appAuthDataList.stream().map(value -> StringUtils.defaultString(value.getNamespaceId(), SYS_DEFAULT_NAMESPACE_ID)).findFirst().get();
            WebsocketCollector.send(namespaceId, GsonUtils.getInstance().toJson(configData), eventType);
        }
    }
The type Websocket data changed listener.

@since 2.0.0
shenyu-admin/src/main/java/org/apache/shenyu/admin/listener/websocket/WebsocketDataChangedListener.java