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/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 7af292d43 [INLONG-3631][Dashboard] Change the ClickHouse sink page to
adapt the Manager module (#3632)
7af292d43 is described below
commit 7af292d434cf2373f93654f4c9463ce7c1b1dcf6
Author: healchow <[email protected]>
AuthorDate: Tue Apr 12 11:47:27 2022 +0800
[INLONG-3631][Dashboard] Change the ClickHouse sink page to adapt the
Manager module (#3632)
---
.../AccessHelper/DataStorageEditor/DetailModal.tsx | 3 +-
.../src/components/MetaData/DataSourcesFile.ts | 2 +-
.../src/components/MetaData/StorageClickhouse.tsx | 114 ++++++++++++---------
.../src/components/MetaData/StorageHive.tsx | 8 +-
.../src/components/MetaData/StorageIceberg.tsx | 8 +-
inlong-dashboard/src/components/MetaData/index.ts | 10 +-
inlong-dashboard/src/locales/cn.json | 23 ++---
inlong-dashboard/src/locales/en.json | 21 ++--
.../src/pages/AccessDetail/DataSources/index.tsx | 1 -
9 files changed, 97 insertions(+), 93 deletions(-)
diff --git
a/inlong-dashboard/src/components/AccessHelper/DataStorageEditor/DetailModal.tsx
b/inlong-dashboard/src/components/AccessHelper/DataStorageEditor/DetailModal.tsx
index 5b08612bb..19b9b8a2e 100644
---
a/inlong-dashboard/src/components/AccessHelper/DataStorageEditor/DetailModal.tsx
+++
b/inlong-dashboard/src/components/AccessHelper/DataStorageEditor/DetailModal.tsx
@@ -27,7 +27,6 @@ import FormGenerator, {
FormItemProps,
FormGeneratorProps,
} from '@/components/FormGenerator';
-import i18n from '@/i18n';
import { Storages, StoragesType } from '@/components/MetaData';
export interface DetailModalProps extends ModalProps {
@@ -84,7 +83,7 @@ const Comp: React.FC<DetailModalProps> = ({
fieldName: 'fieldName',
},
},
- CLICK_HOUSE: {
+ CLICKHOUSE: {
columnsKey: 'fieldList',
restMapping: {
fieldName: 'fieldName',
diff --git a/inlong-dashboard/src/components/MetaData/DataSourcesFile.ts
b/inlong-dashboard/src/components/MetaData/DataSourcesFile.ts
index b920707f5..0ff834405 100644
--- a/inlong-dashboard/src/components/MetaData/DataSourcesFile.ts
+++ b/inlong-dashboard/src/components/MetaData/DataSourcesFile.ts
@@ -81,7 +81,7 @@ export const getDataSourcesFileFields = (
name: 'timeOffset',
tooltip:
i18n.t('components.AccessHelper.DataSourceMetaData.File.TimeOffsetHelp'),
_inTable: {
- width: 150,
+ width: 100,
},
},
];
diff --git a/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx
b/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx
index 3dc01f953..735d44b49 100644
--- a/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx
+++ b/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx
@@ -27,8 +27,9 @@ import { ColumnsType } from 'antd/es/table';
import EditableTable from '@/components/EditableTable';
import { excludeObject } from '@/utils';
import { sourceDataFields } from './SourceDataFields';
+import React from 'react';
-// CLICK_HOUSE targetType
+// ClickHouse targetType
const clickhouseTargetTypes = [
'string',
'boolean',
@@ -56,34 +57,19 @@ const getForm: GetStorageFormFieldsType = (
) => {
const fileds = [
{
- name: 'clusterId',
- type: 'select',
- label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.Cluster'),
+ name: 'dbName',
+ type: 'input',
+ label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.DbName'),
rules: [{ required: true }],
props: {
- options: {
- requestService: {
- url: '/sink/listStorageCluster',
- params: {
- sinkType: 'CLICK_HOUSE',
- },
- },
- requestParams: {
- formatResult: result =>
- result.clickHouseClusterList?.map(item => ({
- label: item.name,
- value: item.id,
- })),
- },
- requestAuto: isEdit,
- },
disabled: isEdit && [110, 130].includes(currentValues?.status),
},
+ _inTable: true,
},
{
- name: 'dbName',
+ name: 'tableName',
type: 'input',
- label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.DbName'),
+ label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.TableName'),
rules: [{ required: true }],
props: {
disabled: isEdit && [110, 130].includes(currentValues?.status),
@@ -91,15 +77,59 @@ const getForm: GetStorageFormFieldsType = (
_inTable: true,
},
{
- name: 'tableName',
+ name: 'enableCreateResource',
+ type: 'radio',
+ label:
i18n.t('components.AccessHelper.StorageMetaData.EnableCreateResource'),
+ rules: [{ required: true }],
+ initialValue: 1,
+ tooltip:
i18n.t('components.AccessHelper.StorageMetaData.EnableCreateResourceHelp'),
+ props: {
+ disabled: isEdit && [110, 130].includes(currentValues?.status),
+ options: [
+ {
+ label: i18n.t('basic.Yes'),
+ value: 1,
+ },
+ {
+ label: i18n.t('basic.No'),
+ value: 0,
+ },
+ ],
+ },
+ },
+ {
+ name: 'username',
type: 'input',
- label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.TableName'),
+ label: i18n.t('components.AccessHelper.StorageMetaData.Username'),
rules: [{ required: true }],
props: {
disabled: isEdit && [110, 130].includes(currentValues?.status),
},
_inTable: true,
},
+ {
+ name: 'password',
+ type: 'password',
+ label: i18n.t('components.AccessHelper.StorageMetaData.Password'),
+ rules: [{ required: true }],
+ props: {
+ disabled: isEdit && [110, 130].includes(currentValues?.status),
+ style: {
+ maxWidth: 500,
+ },
+ },
+ },
+ {
+ type: 'input',
+ label: 'JDBC URL',
+ name: 'jdbcUrl',
+ rules: [{ required: true }],
+ props: {
+ placeholder: 'jdbc:clickhouse://127.0.0.1:8123',
+ disabled: isEdit && [110, 130].includes(currentValues?.status),
+ style: { width: 500 },
+ },
+ },
{
name: 'flushInterval',
type: 'inputnumber',
@@ -113,51 +143,33 @@ const getForm: GetStorageFormFieldsType = (
suffix:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.FlushIntervalUnit'),
},
{
- name: 'packageSize',
+ name: 'flushRecord',
type: 'inputnumber',
- label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.PackageSize'),
+ label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.FlushRecord'),
initialValue: 1000,
props: {
min: 1,
disabled: isEdit && [110, 130].includes(currentValues?.status),
},
rules: [{ required: true }],
- suffix:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.PackageSizeUnit'),
+ suffix:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.FlushRecordUnit'),
},
{
name: 'retryTime',
type: 'inputnumber',
- label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.RetryTime'),
+ label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.RetryTimes'),
initialValue: 3,
props: {
min: 1,
disabled: isEdit && [110, 130].includes(currentValues?.status),
},
rules: [{ required: true }],
- suffix:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.RetryTimeUnit'),
- },
- {
- name: 'username',
- type: 'input',
- label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.Username'),
- rules: [{ required: true }],
- props: {
- disabled: isEdit && [110, 130].includes(currentValues?.status),
- },
- },
- {
- name: 'password',
- type: 'input',
- label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.Password'),
- rules: [{ required: true }],
- props: {
- disabled: isEdit && [110, 130].includes(currentValues?.status),
- },
+ suffix:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.RetryTimesUnit'),
},
{
- name: 'isDistribute',
+ name: 'isDistributed',
type: 'radio',
- label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.IsDistribute'),
+ label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.IsDistributed'),
initialValue: 0,
props: {
options: [
@@ -197,7 +209,7 @@ const getForm: GetStorageFormFieldsType = (
],
disabled: isEdit && [110, 130].includes(currentValues?.status),
},
- visible: values => values.isDistribute,
+ visible: values => values.isDistributed,
_inTable: true,
},
{
@@ -205,7 +217,7 @@ const getForm: GetStorageFormFieldsType = (
type: 'input',
label:
i18n.t('components.AccessHelper.StorageMetaData.Clickhouse.PartitionFields'),
rules: [{ required: true }],
- visible: values => values.isDistribute && values.partitionStrategy ===
'HASH',
+ visible: values => values.isDistributed && values.partitionStrategy ===
'HASH',
props: {
disabled: isEdit && [110, 130].includes(currentValues?.status),
},
diff --git a/inlong-dashboard/src/components/MetaData/StorageHive.tsx
b/inlong-dashboard/src/components/MetaData/StorageHive.tsx
index 95ddf5948..a89999d15 100644
--- a/inlong-dashboard/src/components/MetaData/StorageHive.tsx
+++ b/inlong-dashboard/src/components/MetaData/StorageHive.tsx
@@ -81,11 +81,11 @@ const getForm: GetStorageFormFieldsType = (
},
{
type: 'radio',
- label:
i18n.t('components.AccessHelper.StorageMetaData.Hive.EnableCreateResource'),
+ label:
i18n.t('components.AccessHelper.StorageMetaData.EnableCreateResource'),
name: 'enableCreateResource',
rules: [{ required: true }],
initialValue: 1,
- tooltip:
i18n.t('components.AccessHelper.StorageMetaData.Hive.EnableCreateResourceHelp'),
+ tooltip:
i18n.t('components.AccessHelper.StorageMetaData.EnableCreateResourceHelp'),
props: {
disabled: isEdit && [110, 130].includes(currentValues?.status),
options: [
@@ -102,7 +102,7 @@ const getForm: GetStorageFormFieldsType = (
},
{
type: 'input',
- label: i18n.t('components.AccessHelper.StorageMetaData.Hive.Username'),
+ label: i18n.t('components.AccessHelper.StorageMetaData.Username'),
name: 'username',
rules: [{ required: true }],
props: {
@@ -112,7 +112,7 @@ const getForm: GetStorageFormFieldsType = (
},
{
type: 'password',
- label: i18n.t('components.AccessHelper.StorageMetaData.Hive.Password'),
+ label: i18n.t('components.AccessHelper.StorageMetaData.Password'),
name: 'password',
rules: [{ required: true }],
props: {
diff --git a/inlong-dashboard/src/components/MetaData/StorageIceberg.tsx
b/inlong-dashboard/src/components/MetaData/StorageIceberg.tsx
index e7cd3de51..78e3bff44 100644
--- a/inlong-dashboard/src/components/MetaData/StorageIceberg.tsx
+++ b/inlong-dashboard/src/components/MetaData/StorageIceberg.tsx
@@ -131,11 +131,11 @@ const getForm: GetStorageFormFieldsType = (
},
{
type: 'radio',
- label:
i18n.t('components.AccessHelper.StorageMetaData.Hive.EnableCreateResource'),
+ label:
i18n.t('components.AccessHelper.StorageMetaData.EnableCreateResource'),
name: 'enableCreateResource',
rules: [{ required: true }],
initialValue: 1,
- tooltip:
i18n.t('components.AccessHelper.StorageMetaData.Hive.EnableCreateResourceHelp'),
+ tooltip:
i18n.t('components.AccessHelper.StorageMetaData.EnableCreateResourceHelp'),
props: {
disabled: isEdit && [110, 130].includes(currentValues?.status),
options: [
@@ -152,7 +152,7 @@ const getForm: GetStorageFormFieldsType = (
},
{
type: 'input',
- label: i18n.t('components.AccessHelper.StorageMetaData.Hive.Username'),
+ label: i18n.t('components.AccessHelper.StorageMetaData.Username'),
name: 'username',
rules: [{ required: true }],
props: {
@@ -162,7 +162,7 @@ const getForm: GetStorageFormFieldsType = (
},
{
type: 'password',
- label: i18n.t('components.AccessHelper.StorageMetaData.Hive.Password'),
+ label: i18n.t('components.AccessHelper.StorageMetaData.Password'),
name: 'password',
rules: [{ required: true }],
props: {
diff --git a/inlong-dashboard/src/components/MetaData/index.ts
b/inlong-dashboard/src/components/MetaData/index.ts
index b7127df70..a6105a601 100644
--- a/inlong-dashboard/src/components/MetaData/index.ts
+++ b/inlong-dashboard/src/components/MetaData/index.ts
@@ -41,22 +41,22 @@ export interface StoragesType {
export const Storages: StoragesType[] = [
{
- label: 'HIVE',
+ label: 'Hive',
value: 'HIVE',
...StorageHive,
},
{
- label: 'ICEBERG',
+ label: 'Iceberg',
value: 'ICEBERG',
...StorageIceberg,
},
{
- label: 'CLICK_HOUSE',
- value: 'CLICK_HOUSE',
+ label: 'ClickHouse',
+ value: 'CLICKHOUSE',
...StorageClickhouse,
},
{
- label: 'KAFKA',
+ label: 'Kafka',
value: 'KAFKA',
...StorageKafka,
},
diff --git a/inlong-dashboard/src/locales/cn.json
b/inlong-dashboard/src/locales/cn.json
index 2130cf2f3..aaafc3ef3 100644
--- a/inlong-dashboard/src/locales/cn.json
+++ b/inlong-dashboard/src/locales/cn.json
@@ -41,6 +41,10 @@
"components.AccessHelper.StorageMetaData.SourceFieldName": "源字段名",
"components.AccessHelper.StorageMetaData.SourceFieldType": "源字段类型",
"components.AccessHelper.StorageMetaData.SourceFieldNameRule":
"以英文字母开头,只能包含英文字母、数字、下划线",
+ "components.AccessHelper.StorageMetaData.Username": "用户名",
+ "components.AccessHelper.StorageMetaData.Password": "密码",
+ "components.AccessHelper.StorageMetaData.EnableCreateResource": "是否创建资源",
+ "components.AccessHelper.StorageMetaData.EnableCreateResourceHelp":
"如果库表已经存在,且无需修改,则选【不创建】,否则请选择【创建】,由系统自动创建资源。",
"components.AccessHelper.StorageMetaData.Hive.FileFormat": "落地格式",
"components.AccessHelper.StorageMetaData.Hive.Day": "天",
"components.AccessHelper.StorageMetaData.Hive.DataEncoding": "数据编码",
@@ -49,11 +53,7 @@
"components.AccessHelper.StorageMetaData.Hive.PartitionFieldListHelp":
"字段类型若为timestamp,则必须设置此字段值的格式,支持
MICROSECONDS,MILLISECONDS,SECONDS,SQL,ISO_8601,以及自定义,比如:yyyy-MM-dd HH:mm:ss 等",
"components.AccessHelper.StorageMetaData.Hive.DbName": "DB名称",
"components.AccessHelper.StorageMetaData.Hive.TableName": "表名称",
- "components.AccessHelper.StorageMetaData.Hive.EnableCreateResource":
"是否创建资源",
- "components.AccessHelper.StorageMetaData.Hive.EnableCreateResourceHelp":
"如果库表已经存在,且无需修改,则选【不创建】,否则请选择【创建】,由系统自动创建资源。",
"components.AccessHelper.StorageMetaData.Hive.FieldNameRule":
"以英文字母开头,只能包含英文字母、数字、下划线",
- "components.AccessHelper.StorageMetaData.Hive.Username": "用户名",
- "components.AccessHelper.StorageMetaData.Hive.Password": "密码",
"components.AccessHelper.StorageMetaData.Hive.ConnectionTest": "测试连接",
"components.AccessHelper.StorageMetaData.Hive.ConnectionSucceeded": "连接成功",
"components.AccessHelper.StorageMetaData.Hive.ConnectionFailed": "连接失败",
@@ -63,18 +63,15 @@
"components.AccessHelper.StorageMetaData.Hive.FieldDescription": "字段描述",
"components.AccessHelper.StorageMetaData.Hive.IsMetaField": "是否为元字段",
"components.AccessHelper.StorageMetaData.Hive.FieldFormat": "字段格式",
- "components.AccessHelper.StorageMetaData.Clickhouse.Cluster": "集群",
"components.AccessHelper.StorageMetaData.Clickhouse.DbName": "DB名称",
"components.AccessHelper.StorageMetaData.Clickhouse.TableName": "表名称",
- "components.AccessHelper.StorageMetaData.Clickhouse.FlushInterval":
"Flush间隔",
+ "components.AccessHelper.StorageMetaData.Clickhouse.FlushInterval": "刷新的间隔",
"components.AccessHelper.StorageMetaData.Clickhouse.FlushIntervalUnit": "秒",
- "components.AccessHelper.StorageMetaData.Clickhouse.PackageSize": "打包条数",
- "components.AccessHelper.StorageMetaData.Clickhouse.PackageSizeUnit": "条",
- "components.AccessHelper.StorageMetaData.Clickhouse.RetryTime": "写入失败重测次数",
- "components.AccessHelper.StorageMetaData.Clickhouse.RetryTimeUnit": "次",
- "components.AccessHelper.StorageMetaData.Clickhouse.Username": "用户名",
- "components.AccessHelper.StorageMetaData.Clickhouse.Password": "密码",
- "components.AccessHelper.StorageMetaData.Clickhouse.IsDistribute": "是否分布式表",
+ "components.AccessHelper.StorageMetaData.Clickhouse.FlushRecord": "刷新的数据条数",
+ "components.AccessHelper.StorageMetaData.Clickhouse.FlushRecordUnit": "条",
+ "components.AccessHelper.StorageMetaData.Clickhouse.RetryTimes": "重试次数",
+ "components.AccessHelper.StorageMetaData.Clickhouse.RetryTimesUnit": "次",
+ "components.AccessHelper.StorageMetaData.Clickhouse.IsDistributed": "分布式表",
"components.AccessHelper.StorageMetaData.Clickhouse.Yes": "是",
"components.AccessHelper.StorageMetaData.Clickhouse.No": "否",
"components.AccessHelper.StorageMetaData.Clickhouse.PartitionStrategy":
"分区策略",
diff --git a/inlong-dashboard/src/locales/en.json
b/inlong-dashboard/src/locales/en.json
index 766dff609..f365598ad 100644
--- a/inlong-dashboard/src/locales/en.json
+++ b/inlong-dashboard/src/locales/en.json
@@ -41,6 +41,10 @@
"components.AccessHelper.StorageMetaData.SourceFieldName": "SourceFieldName",
"components.AccessHelper.StorageMetaData.SourceFieldType": "SourceFieldType",
"components.AccessHelper.StorageMetaData.SourceFieldNameRule": "At the
beginning of English letters, only English letters, numbers, and underscores",
+ "components.AccessHelper.StorageMetaData.Username": "Username",
+ "components.AccessHelper.StorageMetaData.Password": "Password",
+ "components.AccessHelper.StorageMetaData.EnableCreateResource":
"EnableCreateResource",
+ "components.AccessHelper.StorageMetaData.EnableCreateResourceHelp": "If the
library table already exists and does not need to be modified, select [Do not
create], otherwise select [Create], and the system will automatically create
the resource.",
"components.AccessHelper.StorageMetaData.Hive.FileFormat": "File format",
"components.AccessHelper.StorageMetaData.Hive.Day": "Day(s)",
"components.AccessHelper.StorageMetaData.Hive.DataEncoding": "Data encoding",
@@ -49,11 +53,7 @@
"components.AccessHelper.StorageMetaData.Hive.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.",
"components.AccessHelper.StorageMetaData.Hive.DbName": "DbName",
"components.AccessHelper.StorageMetaData.Hive.TableName": "TableName",
- "components.AccessHelper.StorageMetaData.Hive.EnableCreateResource":
"EnableCreateResource",
- "components.AccessHelper.StorageMetaData.Hive.EnableCreateResourceHelp": "If
the library table already exists and does not need to be modified, select [Do
not create], otherwise select [Create], and the system will automatically
create the resource",
"components.AccessHelper.StorageMetaData.Hive.FieldNameRule": "At the
beginning of English letters, only English letters, numbers, and underscores",
- "components.AccessHelper.StorageMetaData.Hive.Username": "Username",
- "components.AccessHelper.StorageMetaData.Hive.Password": "Password",
"components.AccessHelper.StorageMetaData.Hive.ConnectionTest": "Test
connection",
"components.AccessHelper.StorageMetaData.Hive.ConnectionSucceeded":
"Connection succeeded",
"components.AccessHelper.StorageMetaData.Hive.ConnectionFailed": "Connection
failed",
@@ -63,18 +63,15 @@
"components.AccessHelper.StorageMetaData.Hive.FieldDescription": "Field
description",
"components.AccessHelper.StorageMetaData.Hive.IsMetaField": "IsMetaField",
"components.AccessHelper.StorageMetaData.Hive.FieldFormat": "FieldFormat",
- "components.AccessHelper.StorageMetaData.Clickhouse.Cluster": "Cluster",
"components.AccessHelper.StorageMetaData.Clickhouse.DbName": "DbName",
"components.AccessHelper.StorageMetaData.Clickhouse.TableName": "TableName",
"components.AccessHelper.StorageMetaData.Clickhouse.FlushInterval":
"FlushInterval",
"components.AccessHelper.StorageMetaData.Clickhouse.FlushIntervalUnit": "S",
- "components.AccessHelper.StorageMetaData.Clickhouse.PackageSize":
"PackageSize",
- "components.AccessHelper.StorageMetaData.Clickhouse.PackageSizeUnit":
"items",
- "components.AccessHelper.StorageMetaData.Clickhouse.RetryTime": "RetryTime",
- "components.AccessHelper.StorageMetaData.Clickhouse.RetryTimeUnit": "items",
- "components.AccessHelper.StorageMetaData.Clickhouse.Username": "Username",
- "components.AccessHelper.StorageMetaData.Clickhouse.Password": "Password",
- "components.AccessHelper.StorageMetaData.Clickhouse.IsDistribute":
"IsDistribute",
+ "components.AccessHelper.StorageMetaData.Clickhouse.FlushRecord":
"FlushRecord",
+ "components.AccessHelper.StorageMetaData.Clickhouse.FlushRecordUnit":
"items",
+ "components.AccessHelper.StorageMetaData.Clickhouse.RetryTimes":
"RetryTimes",
+ "components.AccessHelper.StorageMetaData.Clickhouse.RetryTimesUnit": "items",
+ "components.AccessHelper.StorageMetaData.Clickhouse.IsDistributed":
"IsDistributedTable",
"components.AccessHelper.StorageMetaData.Clickhouse.Yes": "Yes",
"components.AccessHelper.StorageMetaData.Clickhouse.No": "No",
"components.AccessHelper.StorageMetaData.Clickhouse.PartitionStrategy":
"PartitionStrategy",
diff --git a/inlong-dashboard/src/pages/AccessDetail/DataSources/index.tsx
b/inlong-dashboard/src/pages/AccessDetail/DataSources/index.tsx
index a886e86d9..4e54d4168 100644
--- a/inlong-dashboard/src/pages/AccessDetail/DataSources/index.tsx
+++ b/inlong-dashboard/src/pages/AccessDetail/DataSources/index.tsx
@@ -150,7 +150,6 @@ const Comp: React.FC<Props> = ({ inlongGroupId }) => {
{
title: i18n.t('pages.AccessDetail.DataSources.DataStreams'),
dataIndex: 'inlongStreamId',
- width: 100,
} as any,
]
.concat(options.sourceType === 'FILE' ? dataSourcesFileColumns :
dataSourcesBinLogColumns)