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

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.

主站蜘蛛池模板: 萝北县| 峨山| 外汇| 井陉县| 神池县| 平谷区| 霍城县| 双柏县| 茂名市| 哈尔滨市| 南和县| 舒城县| 新巴尔虎右旗| 磴口县| 河东区| 滕州市| 灵寿县| 绍兴市| 柯坪县| 大庆市| 玉山县| 天祝| 南安市| 会理县| 朝阳区| 郎溪县| 藁城市| 丹江口市| 乐山市| 新竹市| 行唐县| 香河县| 洞头县| 牡丹江市| 鞍山市| 彭水| 麦盖提县| 都兰县| 安岳县| 青州市| 平陆县|