官术网_书友最值得收藏!

Creating an event stream and publishing an event

Cloud-native services are autonomous. Each service is completely self-sufficient and runs in isolation to minimize the blast radius when any given service experiences a failure. To achieve this isolation, bulkheads must be established between the services. Event streaming is one mechanism that is used to create these bulkheads. Autonomous cloud-native services perform all inter-service communication asynchronously via streams to decouple upstream services from downstream services. In Chapter 2, Applying The Event Sourcing and CQRS Patterns, we will dive deeper into how we create bounded, isolated, and autonomous cloud-native services. This recipe creates the event stream that we will use throughout this cookbook and provides a function for publishing events to the stream.

主站蜘蛛池模板: 夏津县| 咸阳市| 当雄县| 凉山| 安岳县| 宁安市| 寻甸| 鱼台县| 讷河市| 霸州市| 兴安县| 监利县| 封丘县| 神池县| 安化县| 南汇区| 宜君县| 洞头县| 仲巴县| 双鸭山市| 南投市| 巴彦淖尔市| 梓潼县| 白银市| 临漳县| 邯郸市| 肃北| 乡宁县| 顺平县| 新密市| 凤山县| 婺源县| 麻江县| 福泉市| 闽清县| 聊城市| 开原市| 垣曲县| 芒康县| 恩平市| 闽侯县|