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();
        }
    }
Rpc type adapter string.

@param rpcType the rpc type
@return the string
shenyu-common/src/main/java/org/apache/shenyu/common/utils/PluginNameAdapter.java