@Override
    public void handlerPlugin(final PluginData pluginData) {
        if (Objects.nonNull(pluginData) && Boolean.TRUE.equals(pluginData.getEnabled())) {
            GrpcRegisterConfig grpcRegisterConfig = GsonUtils.getInstance().fromJson(pluginData.getConfig(), GrpcRegisterConfig.class);
            GrpcRegisterConfig exist = Singleton.INST.get(GrpcRegisterConfig.class);
            if (Objects.isNull(grpcRegisterConfig)) {
                return;
            }
            if (Objects.isNull(exist) || !grpcRegisterConfig.equals(exist)) {
                // If it is null, cache it
                Singleton.INST.single(GrpcRegisterConfig.class, grpcRegisterConfig);
            }
        }
    }
The type Grpc plugin data handler.
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-grpc/src/main/java/org/apache/shenyu/plugin/grpc/handler/GrpcPluginDataHandler.java