|
| 1 | +.. _rm-sync-jobs-recoverability: |
| 2 | + |
| 3 | +================== |
| 4 | +Recover a Sync Job |
| 5 | +================== |
| 6 | + |
| 7 | +.. contents:: On this page |
| 8 | + :local: |
| 9 | + :backlinks: none |
| 10 | + :depth: 1 |
| 11 | + :class: singlecol |
| 12 | + |
| 13 | +Relational Migrator can attempt to recover continuous (CDC) sync jobs |
| 14 | +that have failed within the preceding 24-hour period. |
| 15 | +The procedure for recovering a CDC sync job differs, |
| 16 | +depending on whether you're using the embedded or Kafka deployment |
| 17 | +mode. For details on each job type, see :ref:`rm-sync-jobs`. |
| 18 | + |
| 19 | +About this Task |
| 20 | +--------------- |
| 21 | + |
| 22 | +- CDC sync job recovery depends on the type of deployment |
| 23 | + mode your using. The following table summarizes the modes. |
| 24 | + |
| 25 | + .. list-table:: |
| 26 | + :header-rows: 1 |
| 27 | + |
| 28 | + * - Mode |
| 29 | + - Description |
| 30 | + |
| 31 | + * - Embedded Mode |
| 32 | + - Sync jobs that are running on a :ref:`local machine <local-machine-install>` or |
| 33 | + a :ref:`unattended server <unattended-server>`. |
| 34 | + |
| 35 | + * - Kafka Mode |
| 36 | + - Sync jobs that are running with :ref:`Kafka support <kafka-intro>`. |
| 37 | + |
| 38 | +- Examples of embedded mode recoverable scenarios include: |
| 39 | + |
| 40 | + - Unexpected application failure |
| 41 | + - Operating system restarts |
| 42 | + |
| 43 | +- Examples of Kafka CDC sync job recoverable scenarios include: |
| 44 | + |
| 45 | + - Loss of individual `brokers <https://developer.confluent.io/courses/apache-kafka/brokers/>`__ in Kafka cluster |
| 46 | + - Application-level issues resulting in failed health checks |
| 47 | + |
| 48 | +Task |
| 49 | +---- |
| 50 | + |
| 51 | +Click the tab to display the recovery procedure |
| 52 | +for each deployment mode. |
| 53 | + |
| 54 | +.. tabs:: |
| 55 | + |
| 56 | + .. tab:: Embedded Mode |
| 57 | + :tabid: embedded-mode |
| 58 | + |
| 59 | + For embedded mode recovery, the process to restart |
| 60 | + a sync job is manually triggered. This process requires |
| 61 | + restarting the Relational Migrator application. |
| 62 | + |
| 63 | + .. procedure:: |
| 64 | + |
| 65 | + .. step:: Navigate to the :guilabel:`Data Migration` tab |
| 66 | + |
| 67 | + .. step:: Click :guilabel:`Resume` on the failed sync job |
| 68 | + |
| 69 | + .. tab:: Kafka Mode |
| 70 | + :tabid: kafka-mode |
| 71 | + |
| 72 | + For the Kafka deployment mode recovery, the process to recover |
| 73 | + a sync job is automatic. Kafka health checks automatically |
| 74 | + attempt to resume CDC sync jobs after a failure of |
| 75 | + individual `Kafka brokers <https://developer.confluent.io/courses/apache-kafka/brokers/>`__ |
| 76 | + for up to 24 hours. |
| 77 | + |
| 78 | +Learn More |
| 79 | +---------- |
| 80 | + |
| 81 | +- :ref:`rm-create-jobs` |
| 82 | +- :ref:`rm-monitor-jobs` |
0 commit comments