That's great to know 1.6 can support gRPC client on GAE!

We're using GAE Java 7. so basically we should add
<dependency>
    <groupId>io.grpc</groupId>
    <artifactId>grpc-okhttp</artifactId>
    <version>1.6.0</version>
</dependency>

and

<dependency>
    <groupId>io.grpc</groupId>
    <artifactId>grpc-netty</artifactId>
    <version>1.6.0</version>
</dependency>

to our dependencies to fix the ManagedChannelBuilder issue, right?

BTW, the highest version on
https://mvnrepository.com/artifact/io.grpc/grpc-okhttp is 1.5.0
has 1.6.0 been released?

Jun


On Wednesday, August 30, 2017 at 11:01:56 PM UTC+2, Eric Anderson wrote:
>
> On Wed, Aug 30, 2017 at 2:42 AM, <[email protected] <javascript:>> 
> wrote:
>
>> Btw, would it be possible to have the gRPC client on 
>> AppEngine? ManagedChannelBuilder is not supported in AppEngine restricted 
>> environment.
>>
>
> GAE Java 7 *should* work with the OkHttp transport. However, I believe 
> there was a regression in GAE's Conscrypt such that it is currently 
> failing. We're looking to resolve it.
>
> GAE Java 8 *will* work with Netty transport I think with netty-tcnative, 
> starting in grpc-java 1.6 (1.6.0 is available already, but we messed up the 
> tag so we'll make a 1.6.1; it's safe to use 1.6.0 though). We had a bug in 
> earlier versions of grpc-java in that we were accidentally using request 
> threads.
>
> If you include both OkHttp and Netty and use ManagedChannelBuilder, they 
> will chose properly among themselves (OkHttp knows it should be preferred 
> in Java 7).
>
> Note that hosting a gRPC server on GAE isn't supported.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/abe1a993-cc18-498e-a529-b4b1c1719e6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to