public static String rpcTypeAdapter(final String rpcType) {
        RpcTypeEnum rpcTypeEnum = RpcTypeEnum.acquireByName(rpcType);
        switch (rpcTypeEnum) {
            case GRPC:
                return PluginEnum.GRPC.getName();
            case SPRING_CLOUD:
                return PluginEnum.SPRING_CLOUD.getName();
            case DUBBO:
                return PluginEnum.DUBBO.getName();
            case TARS:
                return PluginEnum.TARS.getName();
            case SOFA:
                return PluginEnum.SOFA.getName();
            case WEB_SOCKET:
                return PluginEnum.WEB_SOCKET.getName();
            case MOTAN:
                return PluginEnum.MOTAN.getName();
            case HTTP:
            default:
                return PluginEnum.DIVIDE.getName();
        }
    }
@Test
    public void testRpcTypeAdapter() {
        Arrays.stream(RpcTypeEnum.values())
                .filter(rpcTypeEnum -> !RpcTypeEnum.HTTP.getName().equals(rpcTypeEnum.getName()))
                .forEach(rpcTypeEnum -> assertEquals(PluginNameAdapter.rpcTypeAdapter(rpcTypeEnum.getName()),
                        PluginEnum.getPluginEnumByName(rpcTypeEnum.getName()).getName()));

        assertEquals(PluginNameAdapter.rpcTypeAdapter(RpcTypeEnum.HTTP.getName()), PluginEnum.DIVIDE.getName());
    }