New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nacos能否考虑配置中心多集群之间数据同步支持?(Can Nacos consider supporting data synchronization between multiple clusters in the configuration center?) #7434
Comments
|
Ou télécharger le fichier |
|
Menjaga akun situs saya aman dr bajak atau hacker |
可以考虑以插件或组件的方式来实现嘛 |
|
但是如果这样的话,还需要保证cluster-sync的高可用才行 |
|
简单暴力的方式,就整个同步工具,同步配置的时候用一下就行了,没必要一直开着. |
|
就是需要实时同步呀 |
|
也可以定时向主集群同步 |
|
这个就是我上面的方案2了 |
|
定时同步延迟会高一点 |
|
可以消费ConfigDataChangeEvent事件来做这件事情 |
|
对于第一方案,是不是可以走webhook的形式,将Nacos内部的一些Event通过webhook的方式通知给订阅方,即不会无端为Nacos-Server引入多中心的代码,同时也可以自己根据webhook自行扩展相关逻辑 |
|
I don't understand this app |
|
:-? |
|
Jeff |



Is your feature request related to a problem? Please describe.
如果配置需要下发到多个机房,修改配置的时候,需要每个集群都修改一次,如果能做到不同集群之间的配置数据同步会更好。
(If the configuration needs to be delivered to multiple equipment rooms, you need to modify the configuration for each cluster. It is better to synchronize configuration data between clusters. )
Describe the solution you'd like
A clear and concise description of what you want to happen.
虽然数据库这侧可以通过主从实现同步,当时缓存文件这快也可以多集群之间的同步
(While the database side can be synchronized from master to slave, cache files can also be synchronized between multiple clusters )
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
拍脑袋方案:增加集群的管理,在配置变更的时候,同时将配置变更事件发送到其他集群,类似集群类配置同步
(Head shot solution: add the management of the cluster. When the configuration is changed, the configuration change event is sent to other clusters, similar to the cluster configuration synchronization )
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: