← 返回卡片

原书出处

Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)

07 Stateful Streaming

First Edition; First Release 2020-07-02 · 核验版本的摘录快照 · 导入于 2026-10-23T13:12:18.617Z

If the stored state is not idempotent and any duplicate events are not acceptable, then you should store your consumer’s partition offsets alongside the data within the data store. This ensures that the consumer offsets and the associated state are consistent. When state is restored from the snapshot, the consumer can set its consumer group offsets to those found in the snapshot from the exact time that the snapshot was

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch07.xhtml

EPUB SHA-256:2f625067377fb98cec5ecdbfe31111c33111bcdcaf609e1d4637835a53b1b4b0