google-app-engine - 具有 GRPC 和 Cloud Endpoints 的 App Engine Flex 环境

标签 google-app-engine go google-cloud-platform google-cloud-endpoints grpc

我在 Google Cloud GKE 环境中使用 gRPC。给定此 URL“https://cloud.google.com/endpoints/docs/”,这意味着我们可以在 App Engine 柔性环境中使用 gRPC。但是,从文档中无法找到我们如何将 ESP 与 App Engine 灵活运行时一起使用。我试过了,但我看不到如何公开我的健康检查和公开 gRPC 端口到给定我的 App Engine URL 的 ESP。我的测试基于此:

enter image description here

文档在哪里,以便我可以在此环境中使用带有 ESP(可扩展服务代理,基于 nginx)的 gRPC?文档是错误的还是我假设我可以像在 GKE 上一样使用 Firebase JWT Auth?我更喜欢为我的服务器使用 App Engine Flexible。我将 iOS 用作移动客户端,完全锁定 Google/Firebase。

最佳答案

那是文档中的错误。不支持带有 App Engine flex 的 gRPC。文档已更新。抱歉造成混淆。

关于google-app-engine - 具有 GRPC 和 Cloud Endpoints 的 App Engine Flex 环境,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46100363/

相关文章:

python - GAE 软内存限制

testing - 模拟 bufio.NewScanner 的标准输出流

for-loop - 由于我的 if 语句,我的 for 循环停止处理

go - 如何最好地保持一个长时间运行的 Go 程序运行?

amazon-s3 - 使用直接传输从 S3 到 Google Cloud Storage(Web 界面)

google-cloud-platform - 将 App Engine 连接到 Cloud SQL 访问被拒绝

kubernetes - 错误 : failed to discover supported resources kubernetes google cloud platform

python - GAE 模拟器如何限制可用 Python 模块的列表?

google-app-engine - 如何从 webapp2_extras.appengine.auth.models.Unique 中删除?

node.js - 如何将数据从 BigQuery 移植到已部署在 Google App Engine 上的 ReactJS Webpack 应用程序中