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

grpc-java-polaris consumer how to set namespace ? #44

Open
zs121233 opened this issue May 10, 2023 · 0 comments
Open

grpc-java-polaris consumer how to set namespace ? #44

zs121233 opened this issue May 10, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@zs121233
Copy link

Exception in thread "main" java.lang.IllegalArgumentException: cannot find a NameResolver for polaris://ad.show.retrieval.svc.feeds:57823?namespace=test

VERSION : 1.0.0
CODE :
NameResolverRegistry.getDefaultRegistry().register(new PolarisNameResolverProvider());
String target = POLARIS + serviceName + "?namespace=" + nameSpace;
channel = ManagedChannelBuilder.forTarget(target).usePlaintext()
.build();

@zs121233 zs121233 added the documentation Improvements or additions to documentation label May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant