如何执行REST API呼叫胶水动态帧
我需要构建GLUE SPARK应用程序来转换原始事件,然后执行REST API以推动转换的数据。我正在使用胶水动态框架来转换原始事件,但无法执行REST API调用。是否有一种方法可以在动态帧上执行REST API或BOTO3 API。
I need to build glue spark application to transform raw events and then execute REST API to push transformed data. I am using glue Dynamic Frame to transform raw events but not able to execute REST API call. Is there a way to execute REST API or boto3 API on dynamic frame.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
胶水动态框架是一个火花对象,仅在胶水运行时才能存在。在工作运行期间不可能公开该数据。如果要公开该数据,则可以将其写入S3,DynamoDB,RDS数据库或RedShift。然后,您可以使用API网关和Lambda揭示数据。
The Glue Dynamic Frame is a spark object that only lives inside the Glue job while it's running. It's not possible to expose that data during a job run. If you want to expose that data, you can write it out to S3, DynamoDB, RDS Database or Redshift. Then you can use API Gateway and Lambda to expose the data.