This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 00c80c32d [INLONG-6843][Dashboard] ES datanode parameter improvement
(#6844)
00c80c32d is described below
commit 00c80c32dfae720b8b76575614b6cc615a5a0464
Author: Daniel <[email protected]>
AuthorDate: Mon Dec 12 17:50:14 2022 +0800
[INLONG-6843][Dashboard] ES datanode parameter improvement (#6844)
---
inlong-dashboard/src/locales/cn.json | 2 ++
inlong-dashboard/src/locales/en.json | 3 +++
inlong-dashboard/src/metas/nodes/defaults/Elasticsearch.ts | 9 ++++-----
3 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/inlong-dashboard/src/locales/cn.json
b/inlong-dashboard/src/locales/cn.json
index 988b3d771..abad62793 100644
--- a/inlong-dashboard/src/locales/cn.json
+++ b/inlong-dashboard/src/locales/cn.json
@@ -373,7 +373,9 @@
"meta.Nodes.ES.Host": "主机",
"meta.Nodes.ES.Username": "用户名",
"meta.Nodes.ES.Password": "密码",
+ "meta.Nodes.ES.BulkActionUnit": "个",
"meta.Nodes.ES.FlushInterval": "刷新的间隔",
+ "meta.Nodes.ES.FlushIntervalUnit": "秒",
"meta.Nodes.ES.ConcurrentRequests": "并发线程数",
"meta.Nodes.ES.MaxConnect": "最大连接数",
"meta.Nodes.ES.KeywordMaxLength": "keyword类型的最大长度",
diff --git a/inlong-dashboard/src/locales/en.json
b/inlong-dashboard/src/locales/en.json
index a44cfedc3..7e606ba0a 100644
--- a/inlong-dashboard/src/locales/en.json
+++ b/inlong-dashboard/src/locales/en.json
@@ -193,6 +193,7 @@
"meta.Sinks.Hudi.PrimaryKeyHelper": "The Primary key fields, separated by
commas (,)",
"meta.Sinks.Hudi.PartitionFieldList": "PartitionFieldList",
"meta.Sinks.Hudi.PartitionFieldListHelp": "If the field type is timestamp,
you must set the format of the field value, support MICROSECONDS, MILLISECONDS,
SECONDS, SQL, ISO_8601, and custom, such as: yyyy-MM-dd HH:mm:ss, etc.",
+ "meta.Sinks.Hudi.FieldFormat": "FieldFormat",
"meta.Sinks.Hudi.ExtListHelper": "The DDL attribute of the hudi table needs
to be prefixed with 'ddl.'",
"meta.Sinks.Greenplum.TableName": "TableName",
"meta.Sinks.Greenplum.PrimaryKey": "PrimaryKey",
@@ -372,7 +373,9 @@
"meta.Nodes.ES.Host": "Host",
"meta.Nodes.ES.Username": "Username",
"meta.Nodes.ES.Password": "Password",
+ "meta.Nodes.ES.BulkActionUnit": "Items",
"meta.Nodes.ES.FlushInterval": "FlushInterval",
+ "meta.Nodes.ES.FlushIntervalUnit": "S",
"meta.Nodes.ES.ConcurrentRequests": "ConcurrentRequests",
"meta.Nodes.ES.MaxConnect": "MaxConnect",
"meta.Nodes.ES.KeywordMaxLength": "Max keyword length",
diff --git a/inlong-dashboard/src/metas/nodes/defaults/Elasticsearch.ts
b/inlong-dashboard/src/metas/nodes/defaults/Elasticsearch.ts
index 34b451777..ab70296d9 100644
--- a/inlong-dashboard/src/metas/nodes/defaults/Elasticsearch.ts
+++ b/inlong-dashboard/src/metas/nodes/defaults/Elasticsearch.ts
@@ -33,12 +33,9 @@ export default class ElasticsearchNode
@FieldDecorator({
type: 'input',
rules: [{ required: true }],
- props: {
- placeholder: 'ip:port',
- },
})
@I18n('meta.Nodes.ES.Host')
- httpHosts: string;
+ url: string;
@FieldDecorator({
type: 'input',
@@ -52,7 +49,7 @@ export default class ElasticsearchNode
rules: [{ required: true }],
})
@I18n('meta.Nodes.ES.Password')
- password: string;
+ token: string;
@FieldDecorator({
type: 'inputnumber',
@@ -60,6 +57,7 @@ export default class ElasticsearchNode
props: {
min: 0,
},
+ suffix: i18n.t('meta.Nodes.ES.BulkActionUnit'),
})
@I18n('bulkAction')
bulkAction: number;
@@ -81,6 +79,7 @@ export default class ElasticsearchNode
props: {
min: 0,
},
+ suffix: i18n.t('meta.Nodes.ES.FlushIntervalUnit'),
})
@I18n('meta.Nodes.ES.FlushInterval')
flushInterval: number;