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 d2201eb507 [INLONG-10584][Dashboard] New cluster type adds sortkafka
types (#10585)
d2201eb507 is described below
commit d2201eb507628559ab80f9924a1646a88370b569
Author: kamianlaida <[email protected]>
AuthorDate: Wed Jul 10 18:17:20 2024 +0800
[INLONG-10584][Dashboard] New cluster type adds sortkafka types (#10585)
---
.../src/plugins/clusters/defaults/SortKafka.ts | 27 ++++++++++++++++++++++
.../src/plugins/clusters/defaults/index.ts | 5 ++++
2 files changed, 32 insertions(+)
diff --git a/inlong-dashboard/src/plugins/clusters/defaults/SortKafka.ts
b/inlong-dashboard/src/plugins/clusters/defaults/SortKafka.ts
new file mode 100644
index 0000000000..5b5019e84f
--- /dev/null
+++ b/inlong-dashboard/src/plugins/clusters/defaults/SortKafka.ts
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import { DataWithBackend } from '@/plugins/DataWithBackend';
+import { RenderRow } from '@/plugins/RenderRow';
+import { RenderList } from '@/plugins/RenderList';
+import { ClusterInfo } from '../common/ClusterInfo';
+
+export default class SortCKafka
+ extends ClusterInfo
+ implements DataWithBackend, RenderRow, RenderList {}
diff --git a/inlong-dashboard/src/plugins/clusters/defaults/index.ts
b/inlong-dashboard/src/plugins/clusters/defaults/index.ts
index d29bb81604..1c5e49bb49 100644
--- a/inlong-dashboard/src/plugins/clusters/defaults/index.ts
+++ b/inlong-dashboard/src/plugins/clusters/defaults/index.ts
@@ -66,4 +66,9 @@ export const allDefaultClusters:
MetaExportWithBackendList<ClusterMetaType> = [
value: 'SORT_PULSAR',
LoadEntity: () => import('./SortPulsar'),
},
+ {
+ label: 'Sort Kafka',
+ value: 'SORT_KAFKA',
+ LoadEntity: () => import('./SortKafka'),
+ },
];