简体   繁体   English

Aurora Serverless v2 能否与 AppSync RDS 解析器一起使用?

[英]Can Aurora Serverless v2 be used with AppSync RDS Resolvers?

We're upgrading our serverless version 1 MYSQL 5.7 database to Serverless v2 MySQL 8.0 (Aurora 3) as documented here and here .我们正在将无服务器版本 1 MYSQL 5.7 数据库升级到无服务器 v2 MySQL 8.0 (Aurora 3),如此此处所述。 Our current AppSync graphql API uses the RDS resolvers to access the database and call stored procedures through the Data API and it works wonderfully.我们当前的 AppSync graphql API 使用 RDS 解析器访问数据库并通过数据 API 调用存储过程,它运行良好。 In our test upgrade we've found that the Aurora 3 Serverless 2 version of the database (although available to standard connection via MySQL WorkBench) has deprecated the Data API.在我们的测试升级中,我们发现数据库的 Aurora 3 Serverless 2 版本(尽管可通过 MySQL WorkBench 进行标准连接)已弃用数据 API。

So any AppSync resolvers that follow the recommended RDS AppSync pattern in the Aurora Resolver tutorial or the RDS template mapping reference won't work and give the following error in CloudWatch:因此,任何遵循Aurora Resolver 教程RDS 模板映射参考中推荐的 RDS AppSync 模式的 AppSync 解析器都将无法工作,并在 CloudWatch 中出现以下错误:

 "error": { "message": "RDSHttp:{\"message\":\"httpendpoint not enabled."}", "type": "400 Bad Request" },

Using aws rds modify-db-cluster --db-cluster-identifier <clusterid> --enable-http-endpoint has no effect.使用aws rds modify-db-cluster --db-cluster-identifier <clusterid> --enable-http-endpoint无效。

The release notice for Aurora Serverless v2 gives RDS proxy as one of the benefits but I can't see a way to integrate that into AppSync without writing a lot of additional lambda. Can anyone tell us how to use v2 with AppSync RDS resolvers? Aurora Serverless v2 的发布通知将 RDS 代理作为一项优势提供,但我无法在不编写大量额外代码的情况下将其集成到 AppSync 中 lambda。谁能告诉我们如何将 v2 与 AppSync RDS 解析器一起使用?

Please review: When will Aurora Serverless V2 have a Data API?请回顾: Aurora Serverless V2 什么时候会有数据 API?

Basically, no, there are no set plans (but a lot of feature requests) for the Data-API.基本上,不,数据 API 没有固定计划(但有很多功能请求)。 I can only recommend you to help us flood AWS with feature requests for Data-API in Aurora Serverless v2!我只能建议您帮助我们在 Aurora Serverless v2 中向 AWS 发送数据 API 功能请求!

Use your AWS Support channel, your AWS account rep.使用您的 AWS Support 渠道,您的 AWS 客户代表。 and AWS re:Post forums!和 AWS re:Post 论坛!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM