菜单
技术

事件拦截

NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions it is likely that it is still relevant. If the blip is older it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the RadarUnderstand more
Published: Oct 28, 2020
Oct 2020
试验?

随着越来越多的公司从遗留系统中迁移出来,我们觉得有必要强调一种从这些系统中获取数据的新机制,它可以作为变动数据捕获(CDC)的替代方案。Martin Fowler 早在2004 年就描述了事件拦截。在现代术语中,它涉及到在进入系统时将请求分流,以便逐步构建一个替代系统。这通常是通过复制事件或消息来实现的,但是 HTTP 请求分流也同样有效。例如在将事件写入大型机之前在销售点系统处将事件分流,又如在将支付事务写入核心银行系统之前对其进行分流。这两种情况都会导致部分遗留系统的逐步替换。我们认为,这种从源头获取状态更改,而不是使用 CDC 进行后期处理来重新创建状态更改的技术,一直以来都被忽视了,这也是我们在本期技术雷达中强调它的原因。