KTable-KTable 外键连接语义
KTable-KTable Foreign-Key Join Semantics
Confluent 网站的 documentation 提到了以下内容:
The left KTable can have multiple records which map to the same key on
the right KTable. An update to a single left KTable entry may result
in a single output event, provided the corresponding key exists in the
right KTable. Consequently, a single update to a right KTable entry
will result in an update for each record in the left KTable that has
the same foreign key.
看下面的例子解释:
根据解释,在内部联接的情况下,右侧的 (10, baz)
应该触发左侧的两条记录,这两条记录将被添加到结果联接 table 中。但在解释中它不在 table 中。这是一个错字吗?或者我遗漏了什么。
是的,这是文档中的一个错误。 ——谢谢你的呼唤。我们会修复它。
顺便说一句:如果您在文档中遇到错误,请随时发送电子邮件至 docs@confluent.io,以便我们修复它们!
Confluent 网站的 documentation 提到了以下内容:
The left KTable can have multiple records which map to the same key on the right KTable. An update to a single left KTable entry may result in a single output event, provided the corresponding key exists in the right KTable. Consequently, a single update to a right KTable entry will result in an update for each record in the left KTable that has the same foreign key.
看下面的例子解释:
根据解释,在内部联接的情况下,右侧的 (10, baz)
应该触发左侧的两条记录,这两条记录将被添加到结果联接 table 中。但在解释中它不在 table 中。这是一个错字吗?或者我遗漏了什么。
是的,这是文档中的一个错误。 ——谢谢你的呼唤。我们会修复它。
顺便说一句:如果您在文档中遇到错误,请随时发送电子邮件至 docs@confluent.io,以便我们修复它们!