From 2c83fe426514727b82c85717ce2d49f341256108 Mon Sep 17 00:00:00 2001 From: xxhZs <1060434431@qq.com> Date: Thu, 22 Feb 2024 16:08:02 +0800 Subject: [PATCH] fix add new name --- ci/docker-compose.yml | 4 ++-- src/connector/src/sink/starrocks.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/docker-compose.yml b/ci/docker-compose.yml index 96ad6ea8598f6..db017be647376 100644 --- a/ci/docker-compose.yml +++ b/ci/docker-compose.yml @@ -232,7 +232,7 @@ services: starrocks-fe-server: container_name: starrocks-fe-server - image: starrocks/fe-ubuntu:latest + image: starrocks/fe-ubuntu:3.1.7 hostname: starrocks-fe-server command: /opt/starrocks/fe/bin/start_fe.sh @@ -247,7 +247,7 @@ services: retries: 30 starrocks-be-server: - image: starrocks/be-ubuntu:latest + image: starrocks/be-ubuntu:3.1.7 command: - /bin/bash - -c diff --git a/src/connector/src/sink/starrocks.rs b/src/connector/src/sink/starrocks.rs index da17a305027a6..c5a0740b0736f 100644 --- a/src/connector/src/sink/starrocks.rs +++ b/src/connector/src/sink/starrocks.rs @@ -52,10 +52,10 @@ pub struct StarrocksCommon { #[serde(rename = "starrocks.host")] pub host: String, /// The port to the MySQL server of StarRocks FE. - #[serde(rename = "starrocks.mysqlport")] + #[serde(rename = "starrocks.mysqlport", alias = "starrocks.query_port")] pub mysql_port: String, /// The port to the HTTP server of StarRocks FE. - #[serde(rename = "starrocks.httpport")] + #[serde(rename = "starrocks.httpport", alias = "starrocks.http_port")] pub http_port: String, /// The user name used to access the StarRocks database. #[serde(rename = "starrocks.user")]