简体   繁体   English

使用 AWS CloudFormation 为 AWS Glue 作业启用自动缩放功能

[英]Enable autoscaling feature for AWS Glue Jobs using AWS CloudFormation

Very recently AWS announced an autoscaling feature for Glue ETL and streaming jobs.最近 AWS 宣布了一项针对 Glue ETL 和流作业的自动缩放功能。 I've seen today that the region I'm currently working in is now supporting this feature.我今天看到我目前工作的地区现在支持此功能。

I can confirm that this is working using the console, as described in the documentation .我可以使用控制台确认这是否有效,如文档中所述。

I was wondering if this could already be enabled using CloudFormation.我想知道是否可以使用 CloudFormation 启用此功能。 In the CloudFormation documentation I don't see any settings that could enable this feature.CloudFormation 文档中,我没有看到任何可以启用此功能的设置。

I'm guessing that this will only be available once the feature is out of preview mode, but I'm not 100% sure.我猜这只有在该功能退出预览模式后才可用,但我不是 100% 确定。 Does anyone know more about this?有人对此了解更多吗? Or can someone confirm my presumption?或者有人可以证实我的假设吗?

Looks like you can just pass the right argument to the job to enable autoscaling, without having to wait on any resource updates.看起来您只需将正确的参数传递给作业即可启用自动缩放,而无需等待任何资源更新。

Here is an example to enable bookmarks from the documentation, you should be able to pass "--enable-auto-scaling": "true" instead.这是一个从文档中启用书签的示例,您应该能够传递 "--enable-auto-scaling": "true" 。

DefaultArguments: "--job-bookmark-option": "job-bookmark-enable"默认参数:“--job-bookmark-option”:“job-bookmark-enable”

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

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