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

版本2.13中创建channel感觉有变化 #165

Closed
wangzhs opened this issue Dec 4, 2020 · 5 comments
Closed

版本2.13中创建channel感觉有变化 #165

wangzhs opened this issue Dec 4, 2020 · 5 comments

Comments

@wangzhs
Copy link

wangzhs commented Dec 4, 2020

NettyChannelBuilder.forAddress("localhost", 8888).usePlaintext()

@thesamet
Copy link
Contributor

thesamet commented Dec 4, 2020

Hi @wangzhs , will you be able to post the full question or problem statement in English?

@wangzhs
Copy link
Author

wangzhs commented Dec 4, 2020

hi, channel creati in version 2.13 feels changed. I can't use ManagedChannelBuilder.forAddress("localhost", 8980).usePlaintext()

@thesamet
Copy link
Contributor

thesamet commented Dec 4, 2020

ManagedChannelBuilder is provided by grpc-java - it doesn't depend in any way on the Scala version you are using. Are you getting an actual compiler error or is it only IntelliJ marking this as an error? I have heard in the past that IntelliJ falsely reports this line as an error: https://gitter.im/ScalaPB/community?at=5e7ebc31c8bfec7e2c61e8d8 try splitting the statement into two lines.

@ahjohannessen
Copy link

ahjohannessen commented Dec 4, 2020

@thesamet Perhaps it is related to this grpc/grpc-java#7294 in 1.34.0

@thesamet
Copy link
Contributor

Closing due to inactivity. If the issue persists, please file a new issue with precise steps to reproduce the problem and include the error messages or other details that could help resolving it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants