the version nacos-client #32013
Replies: 18 comments 1 reply
-
the version of nacos-server is 2.2.0, What is the impact? |
Beta Was this translation helpful? Give feedback.
-
ShardingSphere use 1.x version reason is use nacos NamingServer feature. And We don't know any impact, you can try it. |
Beta Was this translation helpful? Give feedback.
-
nacos of 2.x version have NamingServer feature, why we not used 2.x nacos |
Beta Was this translation helpful? Give feedback.
-
What you said above is the reason for using nacos, not the reason for using 1. x |
Beta Was this translation helpful? Give feedback.
-
Are you interested in adapter 2.x? |
Beta Was this translation helpful? Give feedback.
-
yes,I want to adapter the latest version of nacos. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
nacos-client1.x supports the same client to register multiple instances, but nacos-client2.x only allows one client to register one instance. nacos-server2.0 can be compatible with nacos-client1.x, so we use nacos-client1.x to achieve the purpose of registering multiple instances for the same client. |
Beta Was this translation helpful? Give feedback.
-
I heard that Nacos plans to completely delete 1. x. If so, from the ShardingSphere scenario, there is no way to continue using Nacos. |
Beta Was this translation helpful? Give feedback.
-
I think the same client to register one instance |
Beta Was this translation helpful? Give feedback.
-
I understand instance is ip:port, the idea is correct? |
Beta Was this translation helpful? Give feedback.
-
ShardingSphere needs to push multiple ephemeral metadata and listen for metadata changes based on prefix key, but ConfigServer does not support these features right now. So NamingServer was chosen to solve these problems. In fact, this is not a good solution. |
Beta Was this translation helpful? Give feedback.
-
We only care about the instance's field metadata. |
Beta Was this translation helpful? Give feedback.
-
I understand, thank you |
Beta Was this translation helpful? Give feedback.
-
In addition, Nacos' caching mechanism also causes ShardingSphere to be unable to get the latest metadata just pushed. |
Beta Was this translation helpful? Give feedback.
-
Just FYI, seems the issue of |
Beta Was this translation helpful? Give feedback.
-
the latest version of nacos-client 2.x ,but the version of shardingsphere dependence is 1.4.2
Beta Was this translation helpful? Give feedback.
All reactions