数据同步方案

This commit is contained in:
许晓东
2021-11-12 19:20:04 +08:00
parent 984e39c6cf
commit 4a9c2dbcc2
2 changed files with 73 additions and 1 deletions

View File

@@ -0,0 +1,56 @@
<template>
<a-modal
title="数据同步方案"
:visible="show"
:width="800"
:mask="false"
:footer="null"
:maskClosable="false"
@cancel="handleCancel"
>
<div>
不同方案针对场景不一样
<h3>方案一</h3>
双读双写
<p />
<h3>方案二</h3>
将新集群的节点添加进来副本重分配最后移除老节点
<p />
<h3>方案三</h3>
迁移流程<a
href="https://blog.csdn.net/x763795151/article/details/121070563"
>kafka新老集群平滑迁移实践</a
>需要使用到下面的同步功能
<p />
</div>
</a-modal>
</template>
<script>
export default {
name: "DataSyncScheme",
props: {
visible: {
type: Boolean,
default: false,
},
},
data() {
return {
show: this.visible,
};
},
watch: {
visible(v) {
this.show = v;
},
},
methods: {
handleCancel() {
this.$emit("closeDataSyncSchemeDialog", { refresh: false });
},
},
};
</script>
<style scoped></style>