public static String getRpcType(final ApiBean api) {
        final String rpcType = api.getPropertiesValue("rpcType");
        if (StringUtils.isBlank(rpcType)) {
            for (RpcTypeEnum value : RpcTypeEnum.values()) {
                if (Objects.equals(value.getName(), api.getClientName())) {
                    return value.getName();
                }
            }
            return "unknown";
        }
        return rpcType;
    }
get rpc type.

@param api api
@return rpc type
shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/utils/ApiBeanUtil.java