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

[Feature] enhance service name mapping #14132

Closed
4 tasks done
zrlw opened this issue Apr 26, 2024 · 0 comments
Closed
4 tasks done

[Feature] enhance service name mapping #14132

zrlw opened this issue Apr 26, 2024 · 0 comments
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@zrlw
Copy link
Contributor

zrlw commented Apr 26, 2024

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Apache Dubbo Component

Java SDK (apache/dubbo)

Descriptions

Some times MetadataReport#getConfigItem will return a service name which is ended by a space character, MetadataServiceNameMapping#map will treat it as a different old service name. the service name mapping content will be updated to duplicated format such as "serviceA ,serviceA". Worse still, dubbo client will try to subscribe both "serviceA " and "serviceA", but "serviceA " will not be accepted by Nacos server and the subscription will be broken down by a illegal service name exception.

Related issues

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@zrlw zrlw added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Apr 26, 2024
@AlbumenJ AlbumenJ closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Archived in project
Development

No branches or pull requests

2 participants