Debezium 是否提供交货和订购保证?

Does Debezium provide delivery and ordering guarantees?

我计划使用 Kafka 制作活动,我需要强有力的交付和订购保证。通过在生产者配置中使用 enable.idempotence=true 参数,我可以获得这些保证。

我的问题是:

  1. 如何使用 debezium 实现此目的?
  2. 这些保证是默认提供的吗?
  3. 是否可配置?怎么样?

注意:我打算使用 Debezium Connector for PostgreSQL

Delevery Sematincs

保证 至少一次 交付:

When all systems are running nominally or when some or all of the systems are gracefully shut down, then consuming applications can expect to see every event exactly one time. However, when things go wrong it is always possible for consuming applications to see events at least once.

来源:Why must consuming applications expect duplicate events?


订购保证

strong 排序保证:

Most connectors will record all events for a single database table to a single topic. Additionally, all events within a topic are totally-ordered, meaning that the order of all of those events will be maintained. (Even if events are duplicated during failures, the end result after applying all of the events will remain the same.)

来源:How are events for a database organized?