Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5736

Expose heartbeatFrequency setting for mongodb connector

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 2.1.0.Alpha1
    • None
    • mongodb-connector
    • None
    • False
    • None
    • False

    Description

      On MongoDB java driver, there is a heartbeat frequency setting https://javadoc.io/doc/org.mongodb/mongodb-driver-core/4.7.2/com/mongodb/connection/ServerSettings.Builder.html#heartbeatFrequency(long,java.util.concurrent.TimeUnit) – it controls how often the driver refresh the cluster descriptions.

       

      The default is 10 sec, which means there will be a ~10sec delay on primary failover. Debezium should expose a config setting to allow override this setting.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ywu-stripe Yang Wu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: