Skip to content

Commit 8afa0ff

Browse files
author
Chris Cho
authored
DOCSP-25232 tutorial setup step (#25)
* DOCSP-25232: explicit step for tutorial setup
1 parent f3369e5 commit 8afa0ff

File tree

8 files changed

+39
-28
lines changed

8 files changed

+39
-28
lines changed

snooty.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ connector_kafka_version_minor="6"
2020
connector_kafka_version_docs="https://kafka.apache.org/{+connector_kafka_version_major+}{+connector_kafka_version_minor+}"
2121
sink-connector="MongoDB Kafka sink connector"
2222
source-connector="MongoDB Kafka source connector"
23+
sink-connector-title="MongoDB Kafka Sink Connector"
24+
source-connector-title="MongoDB Kafka Source Connector"
2325
connector_driver_url_base="https://www.mongodb.com/docs/drivers/java/sync/v{+connector_driver_version+}/"
2426
connector_driver_api_doc_url_base="https://mongodb.github.io/mongo-java-driver/{+connector_driver_version+}/"
2527
pipeline-size = "2.4 GB"

source/compatibility.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ Compatibility
99
MongoDB Compatibility
1010
---------------------
1111

12-
Kafka Sink Connector
13-
~~~~~~~~~~~~~~~~~~~~
12+
{+sink-connector-title}
13+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1414

15-
The **Kafka Sink Connector** requires MongoDB 3.6 or later.
15+
The {+sink-connector+} requires MongoDB v3.6 or later.
1616

17-
Kafka Source Connector
18-
~~~~~~~~~~~~~~~~~~~~~~
17+
{+source-connector-title}
18+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1919

20-
The **Kafka Source Connector** requires MongoDB 3.6 or later.
20+
The {+source-connector+} requires MongoDB v3.6 or later.
2121

22-
If you are using MongoDB 3.6, the connector can only listen for
22+
If you are using MongoDB v3.6, the connector can only listen for
2323
changes on **collections**. If you need the connector to listen for
2424
changes on a **database** or **deployment**, you must use
25-
MongoDB 4.0 or later.
25+
MongoDB v4.0 or later.
2626

2727
.. note::
2828

@@ -33,20 +33,20 @@ MongoDB 4.0 or later.
3333
Kafka Compatibility
3434
-------------------
3535

36-
The **{+mkc+}** requires Kafka Connect version 2.1.0 or later. It's
37-
tested against Apache Kafka 2.3 and later. You can use the Kafka
36+
The {+mkc+} requires Kafka Connect v2.1.0 or later. It's
37+
tested against Apache Kafka v2.3 and later. You can use the Kafka
3838
Connect service with several Apache Kafka compatible platforms including
3939
the following:
4040

41-
- Confluent Platform 5.3 or later
41+
- Confluent Platform v5.3 or later
4242
- Microsoft Azure Event Hubs
4343
- Red Hat AMQ Streams
4444

45-
The {+mkc+} works directly with Kafka Connect. The connector does not
45+
The {+mkc+} works directly with {+kafka-connect+}. The connector does not
4646
connect directly to a Kafka cluster which means it's compatible with any
47-
Apache Kafka platform that supports Kafka Connect.
47+
Apache Kafka platform that supports {+kafka-connect+}.
4848

49-
If you have any questions about the {+mkc+}, feel free to ask them on
50-
the `MongoDB Community Forums
49+
If you have any questions about the {+mkc+}, ask them on the
50+
`MongoDB Community Forums
5151
<https://www.mongodb.com/community/forums/c/data/connectors-integrations/>`__.
5252

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
.. note:: Before You Get Started
2-
3-
Before you start this tutorial, you must complete the steps in the
4-
:ref:`<kafka-tutorials-docker-setup>`.
1+
Complete the steps in the :ref:`<kafka-tutorials-docker-setup>` to start the
2+
the {+kafka-connect+} and MongoDB environment.

source/tutorials/explore-change-streams.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,18 @@ Explore MongoDB Change Streams
1313
Follow this tutorial to learn how to create a change stream on a MongoDB
1414
collection and observe the change events it creates.
1515

16-
.. include:: /includes/tutorials/setup.rst
16+
1717

1818
Explore Change Streams
1919
----------------------
2020

2121
.. procedure::
2222
:style: connected
2323

24+
.. step:: Complete the Tutorial Setup
25+
26+
.. include:: /includes/tutorials/setup.rst
27+
2428
.. step:: Connect to the Docker Container
2529

2630
Create two interactive shell sessions on the tutorial Docker

source/tutorials/migrate-time-series.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,15 @@ stock performance over time using aggregation operators.
4040
tutorial. MongoDB developers are currently working on resolving this
4141
issue.
4242

43-
.. include:: /includes/tutorials/setup.rst
44-
4543
Migrate a Collection to a Time Series Collection
4644
------------------------------------------------
4745

4846
.. procedure::
4947
:style: connected
5048

49+
.. step:: Complete the Tutorial Setup
50+
51+
.. include:: /includes/tutorials/setup.rst
5152

5253
.. step:: Generate Sample Data
5354

source/tutorials/replicate-with-cdc.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,16 @@ data to the target MongoDB collection.
3030
If you want to learn more about how CDC handlers work, see the
3131
:ref:`<sink-fundamentals-cdc-handler>` guide.
3232

33-
.. include:: /includes/tutorials/setup.rst
34-
3533
Replicate Data with a CDC Handler
3634
---------------------------------
3735

3836
.. procedure::
3937
:style: connected
4038

39+
.. step:: Complete the Tutorial Setup
40+
41+
.. include:: /includes/tutorials/setup.rst
42+
4143
.. step:: Start Interactive Shells
4244

4345
Start two interactive shells on the Docker container in separate

source/tutorials/sink-connector.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@ Follow this tutorial to learn how to configure a {+sink-connector+}
1414
to read data from an Apache Kafka topic and write it to a MongoDB
1515
collection.
1616

17-
.. include:: /includes/tutorials/setup.rst
18-
1917
Get Started with the MongoDB Kafka Sink Connector
2018
-------------------------------------------------
2119

2220
.. procedure::
2321
:style:connected
2422

23+
.. step:: Complete the Tutorial Setup
24+
25+
.. include:: /includes/tutorials/setup.rst
26+
2527
.. step:: Configure the Sink Connector
2628

2729
Create an interactive shell session on the tutorial Docker Container

source/tutorials/source-connector.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ Getting Started with the MongoDB Kafka Source Connector
1313
Follow this tutorial to learn how to configure a {+source-connector+}
1414
to read data from a change stream and publish it to an Apache Kafka topic.
1515

16-
.. include:: /includes/tutorials/setup.rst
17-
1816
Get Started with the MongoDB Kafka Source Connector
1917
---------------------------------------------------
2018

2119
.. procedure::
2220
:style: connected
2321

22+
.. step:: Complete the Tutorial Setup
23+
24+
.. include:: /includes/tutorials/setup.rst
25+
2426
.. step:: Configure the Source Connector
2527

2628
Create an interactive shell session on the tutorial Docker container

0 commit comments

Comments
 (0)