From 9f92f600b130073307a90609d7ae563bf9cbb3ac Mon Sep 17 00:00:00 2001 From: v-zhangjc9 Date: Fri, 15 Mar 2024 11:22:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(cli):=20=E4=BF=AE=E5=A4=8D=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E8=A1=8C=E7=94=9F=E6=88=90=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 94 +++++++++---------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/service-cli/service-cli-runner/src/main/resources/application.yml b/service-cli/service-cli-runner/src/main/resources/application.yml index b6ae907..deddd45 100644 --- a/service-cli/service-cli-runner/src/main/resources/application.yml +++ b/service-cli/service-cli-runner/src/main/resources/application.yml @@ -7,8 +7,8 @@ deploy: source-jar: service-queue-1.0.0-SNAPSHOT.jar replicas: 1 arguments: - data_save_enable: true - data_save_location: ${deploy.runtime.data-path} + "[data.save.enable]": true + "[data.save.location]": ${deploy.runtime.data-path} service-api: order: 1 source-jar: service-api-1.0.0-SNAPSHOT.jar @@ -29,17 +29,17 @@ deploy: source-jar: service-launcher-b2b1-1.0.0-SNAPSHOT.jar replicas: 6 environments: - connector_hadoop_kerberos-principal: ${deploy.runtime.user}/$\{hostname}.hdp.dc@ECLD.COM - connector_hadoop_kerberos-keytab-path: ${deploy.runtime.kerberos-keytab-path} - connector_hudi_app-hdfs-path: ${deploy.runtime.hudi.app-hdfs-path} - connector_hudi_victoria-push-url: ${deploy.runtime.hudi.victoria-push-url} - connector_hudi_loki-push-url: ${deploy.runtime.hudi.loki-push-url} + "[connector.hadoop.kerberos-principal]": ${deploy.runtime.user}/$\{hostname}.hdp.dc@ECLD.COM + "[connector.hadoop.kerberos-keytab-path]": ${deploy.runtime.kerberos-keytab-path} + "[connector.hudi.app-hdfs-path]": ${deploy.runtime.hudi.app-hdfs-path} + "[connector.hudi.victoria-push-url]": ${deploy.runtime.hudi.victoria-push-url} + "[connector.hudi.loki-push-url]": ${deploy.runtime.hudi.loki-push-url} arguments: - spring_application_name: service-launcher-b1 - connector_cluster_cluster: b1 - connector_cluster_sync-queue-name: sync-queue-b1 - connector_cluster_compaction-queue-name: compaction-queue-b1 - connector_zookeeper_connect-url: ${deploy.runtime.connector-zk-url} + "[spring.application.name]": service-launcher-b1 + "[connector.cluster.cluster]": b1 + "[connector.cluster.sync-queue-name]": sync-queue-b1 + "[connector.cluster.compaction-queue-name]": compaction-queue-b1 + "[connector.zookeeper.connect-url]": ${deploy.runtime.connector-zk-url} service-launcher-b5: order: 4 groups: @@ -49,17 +49,17 @@ deploy: source-jar: service-launcher-b2b5-1.0.0-SNAPSHOT.jar replicas: 6 environments: - connector_hadoop_kerberos-principal: ${deploy.runtime.user}/$\{hostname}.hdp.dc@ECLD.COM - connector_hadoop_kerberos-keytab-path: ${deploy.runtime.kerberos-keytab-path} - connector_hudi_app-hdfs-path: ${deploy.runtime.hudi.app-hdfs-path} - connector_hudi_victoria-push-url: ${deploy.runtime.hudi.victoria-push-url} - connector_hudi_loki-push-url: ${deploy.runtime.hudi.loki-push-url} + "[connector.hadoop.kerberos-principal]": ${deploy.runtime.user}/$\{hostname}.hdp.dc@ECLD.COM + "[connector.hadoop.kerberos-keytab-path]": ${deploy.runtime.kerberos-keytab-path} + "[connector.hudi.app-hdfs-path]": ${deploy.runtime.hudi.app-hdfs-path} + "[connector.hudi.victoria-push-url]": ${deploy.runtime.hudi.victoria-push-url} + "[connector.hudi.loki-push-url]": ${deploy.runtime.hudi.loki-push-url} arguments: - spring_application_name: service-launcher-b5 - connector_cluster_cluster: b5 - connector_cluster_sync-queue-name: sync-queue-b5 - connector_cluster_compaction-queue-name: compaction-queue-b5 - connector_zookeeper_connect-url: ${deploy.runtime.connector-zk-url} + "[spring.application.name]": service-launcher-b5 + "[connector.cluster.cluster]": b5 + "[connector.cluster.sync-queue-name]": sync-queue-b5 + "[connector.cluster.compaction-queue-name]": compaction-queue-b5 + "[connector.zookeeper.connect-url]": ${deploy.runtime.connector-zk-url} service-launcher-a4: order: 4 groups: @@ -69,17 +69,17 @@ deploy: source-jar: service-launcher-b2a4-1.0.0-SNAPSHOT.jar replicas: 6 environments: - connector_hadoop_kerberos-principal: ${deploy.runtime.user}/$\{hostname}.hdp.dc@ECLD.COM - connector_hadoop_kerberos-keytab-path: ${deploy.runtime.kerberos-keytab-path} - connector_hudi_app-hdfs-path: ${deploy.runtime.hudi.app-hdfs-path} - connector_hudi_victoria-push-url: ${deploy.runtime.hudi.victoria-push-url} - connector_hudi_loki-push-url: ${deploy.runtime.hudi.loki-push-url} + "[connector.hadoop.kerberos-principal]": ${deploy.runtime.user}/$\{hostname}.hdp.dc@ECLD.COM + "[connector.hadoop.kerberos-keytab-path]": ${deploy.runtime.kerberos-keytab-path} + "[connector.hudi.app-hdfs-path]": ${deploy.runtime.hudi.app-hdfs-path} + "[connector.hudi.victoria-push-url]": ${deploy.runtime.hudi.victoria-push-url} + "[connector.hudi.loki-push-url]": ${deploy.runtime.hudi.loki-push-url} arguments: - spring_application_name: service-launcher-a4 - connector_cluster_cluster: a4 - connector_cluster_sync-queue-name: sync-queue-a4 - connector_cluster_compaction-queue-name: compaction-queue-a4 - connector_zookeeper_connect-url: ${deploy.runtime.connector-zk-url} + "[spring.application.name]": service-launcher-a4 + "[connector.cluster.cluster]": a4 + "[connector.cluster.sync-queue-name]": sync-queue-a4 + "[connector.cluster.compaction-queue-name]": compaction-queue-a4 + "[connector.zookeeper.connect-url]": ${deploy.runtime.connector-zk-url} service-launcher-b12: order: 4 groups: @@ -89,17 +89,17 @@ deploy: source-jar: service-launcher-b2b12-1.0.0-SNAPSHOT.jar replicas: 6 environments: - connector_hadoop_kerberos-principal: ${deploy.runtime.user}/$\{hostname}.hdp.dc@ECLD.COM - connector_hadoop_kerberos-keytab-path: ${deploy.runtime.kerberos-keytab-path} - connector_hudi_app-hdfs-path: ${deploy.runtime.hudi.app-hdfs-path} - connector_hudi_victoria-push-url: ${deploy.runtime.hudi.victoria-push-url} - connector_hudi_loki-push-url: ${deploy.runtime.hudi.loki-push-url} + "[connector.hadoop.kerberos-principal]": ${deploy.runtime.user}/$\{hostname}.hdp.dc@ECLD.COM + "[connector.hadoop.kerberos-keytab-path]": ${deploy.runtime.kerberos-keytab-path} + "[connector.hudi.app-hdfs-path]": ${deploy.runtime.hudi.app-hdfs-path} + "[connector.hudi.victoria-push-url]": ${deploy.runtime.hudi.victoria-push-url} + "[connector.hudi.loki-push-url]": ${deploy.runtime.hudi.loki-push-url} arguments: - spring_application_name: service-launcher-b12 - connector_cluster_cluster: b12 - connector_cluster_sync-queue-name: sync-queue-b12 - connector_cluster_compaction-queue-name: compaction-queue-b12 - connector_zookeeper_connect-url: ${deploy.runtime.connector-zk-url} + "[spring.application.name]": service-launcher-b12 + "[connector.cluster.cluster]": b12 + "[connector.cluster.sync-queue-name]": sync-queue-b12 + "[connector.cluster.compaction-queue-name]": compaction-queue-b12 + "[connector.zookeeper.connect-url]": ${deploy.runtime.connector-zk-url} service-info-query: order: 1 groups: @@ -119,7 +119,7 @@ deploy: source-jar: service-zookeeper-query-1.0.0-SNAPSHOT.jar replicas: 10 arguments: - connector_zookeeper_connect-url: ${deploy.runtime.connector-zk-url} + "[connector.zookeeper.connect-url]": ${deploy.runtime.connector-zk-url} service-hudi-query: order: 2 groups: @@ -151,11 +151,11 @@ deploy: source-jar: service-executor-manager-1.0.0-SNAPSHOT.jar replicas: 5 environments: - connector_hadoop_kerberos-principal: ${deploy.runtime.user}/$\{hostname}.hdp.dc@ECLD.COM - connector_hadoop_kerberos-keytab-path: ${deploy.runtime.kerberos-keytab-path} + "[connector.hadoop.kerberos-principal]": ${deploy.runtime.user}/$\{hostname}.hdp.dc@ECLD.COM + "[connector.hadoop.kerberos-keytab-path]": ${deploy.runtime.kerberos-keytab-path} arguments: - executor_task-jar-path: ${deploy.runtime.executor.task-jar-path} - executor_task-result-path: ${deploy.runtime.executor.task-result-path} + "[executor.task-jar-path]": ${deploy.runtime.executor.task-jar-path} + "[executor.task-result-path]": ${deploy.runtime.executor.task-result-path} service-web: order: 5 groups: