Skip to content
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

When multi-language SDK is connected to Nacos 2.0, it is recommended to adjust the Type value in Metadata #4464

Closed
catcherwong opened this issue Dec 12, 2020 · 3 comments
Labels
kind/enhancement Category issues or prs related to enhancement. version/2.x
Milestone

Comments

@catcherwong
Copy link
Contributor

When using grpc to request the nacos server, I encountered a situation where it kept returning RequestHandler Not Found

{"resultCode":500,"errorCode":500,"message":"RequestHandler Not Found","success":false}

The screenshot below is an example of request parameters and responses

image

After reading the source code of nacos, I found that the full class name needs to be passed in order to successfully request.

image

This will be strange when connecting to multiple languages.

It might be better to replace the full class name with a meaningful alias

@KomachiSion KomachiSion added version/2.x kind/enhancement Category issues or prs related to enhancement. labels Dec 12, 2020
@KomachiSion KomachiSion added this to the 2.0.0 milestone Dec 12, 2020
@chuntaojun
Copy link
Collaborator

Maybe we should replace the current implementation of strong Java semantics with something that makes sense, something like restful, etc

@liangyuanpeng
Copy link

Maybe we should replace the current implementation of strong Java semantics with something that makes sense, something like restful, etc

Absolutely we need.

@catcherwong
Copy link
Contributor Author

The following commit has solved this problem.

3cfa183

Using simple class name to replace full class name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Category issues or prs related to enhancement. version/2.x
Projects
None yet
Development

No branches or pull requests

4 participants