gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 01:34:09 24 4
gpt4 key购买 nike

我打算使用 用于产生事件到 Kafka我需要强大的交货和订购保证。通过使用 enable.idempotence=true生产者配置中的参数我可以得到这些保证。

我的问题是:

  • 我怎样才能用 debezium 实现这一点?
  • 是否默认提供这些保证?
  • 可配置吗?如何?

  • 注意:我打算使用 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?

    订货保证

    具有强大的订购保证:

    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?

    关于postgresql - Debezium 是否提供交货和订购保证?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60140741/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com