-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathmigrator-with-kafka.txt
80 lines (58 loc) · 2.38 KB
/
migrator-with-kafka.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.. _kafka-intro:
======================
Kafka Deployment Guide
======================
.. default-domain:: mongodb
.. facet::
:name: genre
:values: reference
.. contents:: On this page
:local:
:backlinks: none
:depth: 1
:class: singlecol
{+rel-mig+} uses `Apache Kafka
<https://www.mongodb.com/docs/kafka-connector/current/introduction/kafka-connect/#apache-kafka>`__
as a robust transport layer to migrate data from a source relational database
to MongoDB. {+rel-mig+} can be used as a Kafka Connect plugin that
improves resilience and scalability of big data migration jobs.
Use Cases
---------
{+rel-mig+} with Kafka is intended for large and long running jobs.
Kafka's built-in resilience ensures the migration job can recover and continue
running if any component becomes temporarily unavailable.
Behavior
--------
Architecturally, {+rel-mig+} is deployed within Kafka as a Kafka
Connect sink connector. Database events are captured using the open-source
`Debezium tool <https://debezium.io/documentation/reference/stable/connectors/index.html>`__
for database change data capture. A Debezium Connector captures these events
from your source database.
.. image:: /img/kafka/kafka-behavior.png
:alt: {+rel-mig+} with Kafka
Tasks
-----
You can use the following deployment methods to install {+rel-mig+}
with Kafka:
.. list-table::
:header-rows: 1
* - Deployment Method
- Description
* - :ref:`<install-kafka-cluster>`
- This deployment method is ideal if you are already running Kafka or
have your own approach to installing and configuring Kafka.
* - :ref:`<install-confluent-kafka>`
- Confluent Cloud is an official MongoDB partner providing a fully-managed
cloud-based Kafka solution. This deployment method is ideal if you want the
reliability of Kafka without having to manage your own cluster.
Learn More
----------
- `Kafka and Kafka Connect <https://www.mongodb.com/docs/kafka-connector/current/introduction/kafka-connect/>`__
- :ref:`<advanced-settings>`
- `Debezium <https://debezium.io/documentation/reference/stable/install.html>`__
.. toctree::
:hidden:
:titlesonly:
Self-Managed Kafka </installation/kafka-deployments/install-kafka-cluster>
Confluent Cloud </installation/kafka-deployments/install-confluent-kafka>
Advanced Kafka Settings </installation/kafka-deployments/advanced-settings.txt>