GitHub user leizhiyuan edited a comment on the discussion: Discussion of seata-server and proxy compatibility programs
sdk可以先通过一个注册中心的组件,获取到所有的后端地址,然后和这些地址全链接(这时候返回的地址已经是经过了nat的),这样不管是server2 还是server1,都一定能找到对应的可用的链接。而且保持了server的对等性。 这是当前rocketmq的实现方式,有一个事务消息回查的场景,和这个类似。 仅供参考 The SDK can first obtain all the backend addresses via a component in the registration center, then connect to all these addresses (at this point, the returned addresses have already gone through NAT). In this way, both server2 and server1 can definitely find the corresponding available connections. And it maintains the peer-to-peer nature of the servers. This is the current implementation method of RocketMQ, which is similar to a scenario of transaction message inquiry. For reference only. GitHub link: https://github.com/apache/incubator-seata/discussions/6279#discussioncomment-8181517 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
