问题描述
我创建了一个数据流管道,它从 GCS 存储桶中读取文件并对其进行处理。当我从本地执行作业时,它正在工作。
我使用 storage.object.create 上的触发器在 Cloud Run 中部署了数据流作业。
但是当我上传 GCS 存储桶中的任何文件时,未执行的日志或数据流作业中没有显示触发消息。
触发器配置
Ingress:Allow traffic
Authentication:Allow authentication
Event source:Cloud Storage
Event type:google.cloud.audit.log.v1.written
Create time:2021-02-12 (16:05:25)
Receive events from:All regions (global)
Service URL path:/
Service account:sdas-pipeline@sdas-demo-project.iam.gserviceaccount.com
Service name:storage.googleapis.com
Method name:storage.objects.create
我在这里错过了什么?请提出建议。