谷歌發佈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}}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章