public static Connection getConnection(String url, String user, String password) throws Exception {
        if (StringUtils.isNotBlank(url) && StringUtils.isNotBlank(url) && StringUtils.isNotBlank(password)) {
            UrlVerificationUtils.extractHostAndValidatePortFromJdbcUrl(url, OCEANBASE_JDBC_PREFIX);
            return establishDatabaseConnection(url, user, password);
        }
        return null;
    }
Get OceanBase connection from the url and user.

@param url jdbc url, such as jdbc:oceanbase://host:port/database
@param user Username for JDBC URL
@param password User password
@return {@link Connection}
@throws Exception on get connection error
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sink/oceanbase/OceanBaseJdbcUtils.java