- 快召唤伙伴们来围观吧
- 微博 QQ QQ空间 贴吧
- 文档嵌入链接
- 复制
- 微信扫一扫分享
- 已成功复制到剪贴板
CNCF 无服务器工作组 / CloudEvents
展开查看详情
1 .Introduction: CNCF Serverless WG & CloudEvents Doug Davis - dug@us.ibm.com Cathy Zhang - Cathy.H.Zhang@huawei.com
2 .Agenda ● Serverless WG Overview ● CloudEvents Overview ● Status of CloudEvents ● SDKs ● Serverless Workflow Introduction ● Demo - time permitting ● Q&A
3 . Serverless WG Overview ● Technical Oversight Committee initiated ○ Whitepaper ■ Overview of technology ■ State of ecosystem ■ Recommendations for possible CNCF next steps ○ Landscape ● CloudEvents - Minimal common attributes / shape of events ○ Sandbox project ● Function workflow - orchestration of Functions
4 . CloudEvents Overview ● Consistent metadata & format ● Core specification - minimal properties ● Transport bindings - how to serialize in JSON, HTTP, MQTT, ... { "cloudeventsversion" : "0.1", "eventtype" : "myevent", "source" : "uri:example-com:mydevice", It’s not about data. "eventid" : "A234-1234-1234", "eventtime" : "2018-04-05T17:31:00Z", It’s about metadata! "contenttype" : "text/plain", "data" : "Hello" }
5 . CloudEvents Use Cases ● Normalize events, web-hooks, across environments - interop!! ● Facilitate integrations across platforms ● Leave the event business logic processing to the application ● First step towards portability of functions
6 . CloudEvents Deliverables ● CloudEvents Specification – define the metadata ● Serialization Rules Specifications ○ JSON event format ○ AMQP event format ● Transport Bindings Specifications ○ HTTP – binary and structured ○ MQTT ○ AMQP ○ NATS ○ Web-hooks ● Primer
7 .Cloud Events SDK ● SDK CloudEvent Sub-group ○ (De)Serializer for CloudEvents on various transports - at least http ○ Provide consistency across SDK / languages ● Development underway (WIP) ○ Go ○ Javascript ○ Python ○ Java ○ CSharp
8 . Status of CloudEvents ● Current version: v0.1 - April 2018 ○ v0.2 very soon! ● What’s left for CloudEvents v1.0? ○ Finalize the core Event Attributes ○ Finalize the set of protocol and serialization mappings ○ Documentation, developer and/or user guide. ○ Interop demos & verification through implementations and testing ● What will come after CloudEvents 1.0? ○ Develop SDK and supporting tools for CloudEvents ○ Stabilization and adoption (organize more CloudEvents Interop Demos)
9 .Workflow Introduction
10 .WorkFlow Introduction
11 .WorkFlow Introduction
12 .WorkFlow Introduction
13 .WorkFlow Introduction
14 .Demo - Time Permitting
15 .CloudEvents Demo https://youtu.be/TZPPjAv12k
16 .Cloud Events Demo
17 .Thank You! ● Serverless WG : https://github.com/cncf/wg-serverless ○ Workflow: https://github.com/cncf/wg-serverless/tree/master/workflow/spec ● CloudEvents : https://cloudevents.io/ ○ Org : https://github.com/cloudevents ○ Spec repo : https://github.com/cloudevents/spec ○ SDKs : https://github.com/cloudevents/sdk-... ● Deep-Dive Session: Thursday November 15 - 15:05-15:40 - 3M 3 ○ Cathy: Serverless Workflow: Key to Wide Serverless Adoption ■ Thursday November 15, 2018 12:15 - 12:50 ● Questions?
18 .