Streaming usecase- gRPC require different proxies for each streaming endpoint ?

Hi,

Post reviwing https://www.googlecloudcommunity.com/gc/Cloud-Product-Articles/How-to-Conditionally-Enable-Streaming...

https://www.googlecloudcommunity.com/gc/Apigee/Enabling-streaming-How-it-works-internally/m-p/513673...

We have 5 gRPC endpoints, which is server streaming and remaining 4 which is normal RPC endpoints call

What will be recemented design

1. Having 5 proxy for each streaming gRPC endpoints ? or one Proxy having 5 endpoint all of them streaming enabled ?

2. Non streaming gRPC having 4 endpoints as one proxy.

All gRPC endpoint are independent

Let me know best approach of design

3. I belive separating Streaming and non streaming as separate apigee proxy is required. I mean we cannot have single proxy with above listed 9 gRPC endpoints 

@dino  @imesh @gonzalezruben @dknezic 

 

 

 

 

  

1 8 547
8 REPLIES 8

Note that currently Apigee only supports unary gRPC, so it wont support your streaming use case 

https://cloud.google.com/apigee/docs/api-platform/fundamentals/build-simple-api-proxy#creating-grpc-...

@dknezic 

Thanks for listed link Building a simple API proxy  |  Apigee  |  Google Cloud

Does this means even if if i use below 3 approach or one of 3 approach with Apigee-X proxy

1. Using Apigee X UI to create the Apigee proxy for Unary and Server Streaming proxy

2. Using External call out policy ExternalCallout policy  |  Apigee  |  Google Cloud

3. Using Apigee-X passthro proxy without any medication and just do the OAUTH 2.o verification.

In case 1 and case 2 and least in case 3 in any cases gRPC server streaming will not be supported ? Just trying to judge on alternatives... 

 

@dino  @imesh @gonzalezruben

Apigee API proxies dont support grpc streaming.

Thanks @dknezic https://cloud.google.com/apigee/docs/api-platform/reference/limits Limits does not list any such information, hence assuming that it will be documented or indicated here ?

It's documented here, unary only.

@dknezic  Do we have any Github link for listed defect ?

@dino 

 

This is not open source so there's no github repository for this.

@dknezic  Do we have any updates to support observed few of git link indicating grpc link, wanted to confirm is Server Streaming, Client Streaming and Biderctional is supported in near future ?