Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

the version nacos-client #23472

Closed
pengbiaobeyond opened this issue Jan 10, 2023 · 18 comments
Closed

the version nacos-client #23472

pengbiaobeyond opened this issue Jan 10, 2023 · 18 comments

Comments

@pengbiaobeyond
Copy link

the latest version of nacos-client 2.x ,but the version of shardingsphere dependence is 1.4.2

@pengbiaobeyond
Copy link
Author

the version of nacos-server is 2.2.0, What is the impact?

@zhaojinchao95
Copy link
Contributor

zhaojinchao95 commented Jan 10, 2023

the version of nacos-server is 2.2.0, What is the impact?

ShardingSphere use 1.x version reason is use nacos NamingServer feature. And We don't know any impact, you can try it.

@pengbiaobeyond
Copy link
Author

nacos of 2.x version have NamingServer feature, why we not used 2.x nacos

@pengbiaobeyond
Copy link
Author

What you said above is the reason for using nacos, not the reason for using 1. x

@zhaojinchao95
Copy link
Contributor

nacos of 2.x version have NamingServer feature, why we not used 2.x nacos

Are you interested in adapter 2.x?

@pengbiaobeyond
Copy link
Author

yes,I want to adapter the latest version of nacos.

@linghengqian
Copy link
Member

linghengqian commented Jan 10, 2023

@caqhy
Copy link
Contributor

caqhy commented Jan 10, 2023

nacos of 2.x version have NamingServer feature, why we not used 2.x nacos

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.
registerInstance 注册覆盖前面的实例,不能注册多实例 #5863

@pengbiaobeyond
Copy link
Author

thanks

@caqhy
Copy link
Contributor

caqhy commented Jan 10, 2023

thanks

I heard that Nacos plans to completely delete 1. x. If so, from the ShardingSphere scenario, there is no way to continue using Nacos.

@pengbiaobeyond
Copy link
Author

thanks

@pengbiaobeyond
Copy link
Author

I think the same client to register one instance

@pengbiaobeyond
Copy link
Author

I understand instance is ip:port, the idea is correct?

@caqhy
Copy link
Contributor

caqhy commented Jan 11, 2023

I understand instance is ip:port, the idea is correct?

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.

@caqhy
Copy link
Contributor

caqhy commented Jan 11, 2023

I understand instance is ip:port, the idea is correct?

We only care about the instance's field metadata.

@pengbiaobeyond
Copy link
Author

I understand, thank you

@caqhy
Copy link
Contributor

caqhy commented Jan 11, 2023

I understand instance is ip:port, the idea is correct?

In addition, Nacos' caching mechanism also causes ShardingSphere to be unable to get the latest metadata just pushed.

@github-actions github-actions bot added the stale label Jul 12, 2023
@kezhenxu94
Copy link
Member

Just FYI, seems the issue of mvn timeout doesn't exist any more, see apache/skywalking#12362

@terrymanu terrymanu removed the stale label Jul 7, 2024
@apache apache locked and limited conversation to collaborators Jul 7, 2024
@terrymanu terrymanu converted this issue into discussion #32013 Jul 7, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

6 participants