谷歌发布Eventarc预览版:支持从60多个谷歌云源触发Cloud Run

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"谷歌在最近的一篇博文中发布了Eventarc,一种新的事件功能,可以让用户从60多个谷歌云源触发Cloud Run。用户可以使用Eventarc构建事件驱动的应用程序,并负责事件摄取、交付、安全性、授权、可观察性和错误处理。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"谷歌"},{"type":"link","attrs":{"href":"https:\/\/cloud.google.com\/run","title":"","type":null},"content":[{"type":"text","text":"Cloud Run"}]},{"type":"text","text":"允许用户在全托管的环境中运行无状态容器。它是基于开源的"},{"type":"link","attrs":{"href":"https:\/\/cloud.google.com\/knative\/","title":"","type":null},"content":[{"type":"text","text":"Knative"}]},{"type":"text","text":"而构建的,让用户可以选择以全托管的方式或者在"},{"type":"link","attrs":{"href":"https:\/\/cloud.google.com\/kubernetes","title":"","type":null},"content":[{"type":"text","text":"Google Kubernetes Engine"}]},{"type":"text","text":"集群中运行容器。用户可以通过Eventarc将Cloud Run服务与各种来源的事件连接起来。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"根据谷歌发布的博文,用户可以使用Eventarc解决视频分析、文件转换、新用户注册、应用程序监控等数百个用例,这些用例来自云存储、BigQuery、Firestore和其他60多个谷歌云源。Eventarc支持:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"bulletedlist","content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"接收来自60多个谷歌云源的事件(通过Cloud Audit日志);"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"接收发布到Pub\/Sub的事件,客户端应用程序可以在微服务之间发送信号;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"对于所有事件,无论是什么来源,都要遵守"},{"type":"link","attrs":{"href":"https:\/\/cloudevents.io\/","title":"","type":null},"content":[{"type":"text","text":"CloudEvents"}]},{"type":"text","text":"标准,以确保一致的开发体验;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"按需可伸缩性和无最低费用。"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Eventarc底层的消息传递机制是Sub\/Sub、主题和订阅。事件源产生事件,并以任意格式发布到Sub\/Sub主题上。随后,事件被传递到Cloud Run接收器。对于运行在Cloud Run上的应用程序,开发者可以通过Eventarc使用Cloud Storage事件(通过Cloud Audit日志)来触发数据处理管道,或者使用自定义源的事件(发布到Cloud Pub\/Sub)在微服务之间发出信号。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/25\/9b\/2582198409fc1c982c6a4759f6f9979b.png","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"来源:"},{"type":"link","attrs":{"href":"https:\/\/codelabs.developers.google.com\/codelabs\/cloud-run-events#2","title":"","type":null},"content":[{"type":"text","text":"https:\/\/codelabs.developers.google.com\/codelabs\/cloud-run-events#2"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"借着Eventarc,谷歌加入了其他公共云供应商的行列,它们在各自的云平台上提供集中管理事件的服务。微软在两年前发布了"},{"type":"link","attrs":{"href":"https:\/\/azure.microsoft.com\/en-us\/services\/event-grid\/","title":"","type":null},"content":[{"type":"text","text":"Event Grid"}]},{"type":"text","text":",一项让开发者能够在Azure中以统一的方式管理事件的服务,后续还加入了过滤器和事件域。此外,AWS在2019年推出了Amazon EventBridge——一种无服务器事件总线,允许AWS服务、SaaS和自定义应用程序使用事件相互通信。最后,其他供应商也提供了类似于Event Grid和EventBridge的事件总线服务,比如TriggerMesh的"},{"type":"link","attrs":{"href":"https:\/\/triggermesh.com\/2019\/10\/triggermesh-announce-everybridge-serverless-event-bus\/","title":"","type":null},"content":[{"type":"text","text":"EveryBridge"}]},{"type":"text","text":"。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Constellation Research公司的首席分析师兼副总裁Holger Mueller告诉InfoQ:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"blockquote","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"事件驱动架构已经出现一段时间了……但总是面临需要为事件调整平台规模的问题——这违背了根据事件规模进行灵活调整的理念。云平台提供了这种精确的弹性,现在轮到谷歌的Eventarc——下一代应用程序的关键组件。"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Eventarc目前处于预览阶段,谷歌正在努力为其云平台提供一个功能齐全的事件产品。想要入门的开发人员可以参考"},{"type":"link","attrs":{"href":"https:\/\/cloud.google.com\/run\/docs\/quickstarts\/events","title":"","type":null},"content":[{"type":"text","text":"快速入门指南"}]},{"type":"text","text":",并结合使用"},{"type":"link","attrs":{"href":"https:\/\/github.com\/cloudevents\/sdk-csharp","title":"","type":null},"content":[{"type":"text","text":"CloudEvents SDK"}]},{"type":"text","text":"和"},{"type":"link","attrs":{"href":"https:\/\/github.com\/googleapis\/google-cloudevents","title":"","type":null},"content":[{"type":"text","text":"谷歌事件库"}]},{"type":"text","text":"。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"原文链接"},{"type":"text","text":":"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/www.infoq.com\/news\/2020\/11\/eventarc-google-cloud-run\/","title":"","type":null},"content":[{"type":"text","text":"Google Announces Eventarc in Preview"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章