-
Notifications
You must be signed in to change notification settings - Fork 124
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
Update vanilla Akka gRPC to not use TLS in examples #353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great to finally get rid of that shameless copy
We need to either revert the changes for Java or release Akka HTTP due to: akka/akka-http#2149 So don't merge for now |
I vote for releasing akka-http, was a while since we did anyway :) |
@@ -27,7 +27,7 @@ This library is in preview mode: basic functionality is in place, but API's and | |||
build system plugins are still expected to be improved. | |||
|
|||
The API on both sides (Client and Server) is a simple Akka Streams-based one. | |||
We plan to also provide a 'power user' API for each of these ([#191](https://github.com/akka/akka-grpc/issues/191), [#179](https://github.com/akka/akka-grpc/issues/179)). | |||
The client has a 'power user' API and the planned for the server in [#179](https://github.com/akka/akka-grpc/issues/179)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"and the planned for the server in"?
@@ -63,54 +60,11 @@ public static void main(String[] args) throws Exception { | |||
|
|||
Http.get(sys).bindAndHandleAsync( | |||
serviceHandlers, | |||
ConnectWithHttps.toHostHttps("127.0.0.1", 8080).withCustomHttpsContext(serverHttpContext()), | |||
ConnectHttp.toHost("127.0.0.1", 8080, UseHttp2.always()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this really work? akka/akka-http#2110
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, see comment above. Needs an akka http release
9eec9cf
to
875ea4f
Compare
Our examples just got a lot smaller