知识卡片
事件时间与处理时间
事件时间描述发生时刻,代理摄取时间描述代理接收时刻,消费者摄取与处理时间描述本次运行进度。重放时后两者显著改变,因此要重现历史业务,通常优先采用可靠事件时间;若生产端时间不可靠,可权衡代理摄取时间。offset只能比较同一分区的位置,NTP降低时钟偏差也不等于获得无误差的全局发生顺序。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Deterministic Stream Processing · 查看原书依据
The local timestamp assigned to the event by the producer at the time the event occurred. Broker ingestion time The timestamp assigned to the event by the event broker. You can configure this to be either the event time or the ingestion time, with the former being much more common. In scenarios where the producer’s event time is unreliable, broker-ingestion time can provide a sufficient substitute.
参考来源
- 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第06章《Deterministic Stream Processing》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch06.xhtml;规范化段落起句:The local timestamp assigned to the event)
- 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:事件时间描述发生时刻,代理摄取时间描述代理接收时刻,消费者摄取与处理时间描述本次运行进度。本卡同时保留其适用条件与失败边界。
- 原始内容:The local timestamp assigned to the event by the producer at the time the event occurred. Broker ingestion time The timestamp assigned to the event by the event broker. You can configure this to be either the event time or the ingestion time, with the former being much more common. In scenarios where the producer’s event time is unreliable, broker-ingestion time can provide a sufficient substitute.