@@ -76,7 +76,7 @@ content: |
76
76
:alt: Arrangement of two shells for this tutorial.
77
77
78
78
Arrange your two terminal windows to match the preceding image so that
79
- both are visible and one is above the other.
79
+ both are visible and one is above the other.
80
80
81
81
To monitor your topic, type the following command in your upper terminal window:
82
82
@@ -87,7 +87,7 @@ content: |
87
87
.. important:: Broker Leader Not Available
88
88
89
89
If you receive the following output, run the preceding ``kafkacat`` command
90
- a second time:
90
+ a second time:
91
91
92
92
.. code-block::
93
93
:copyable: false
@@ -117,7 +117,7 @@ content: |
117
117
.. code-block:: bash
118
118
119
119
curl -X POST -H "Content-Type: application/json" --data '
120
- { "name": "mongo-sink-CDCTutorial-eventroundtrip",
120
+ { "name": "mongo-sink-CDCTutorial-eventroundtrip",
121
121
"config": {
122
122
"connector.class":"com.mongodb.kafka.connect.MongoSinkConnector",
123
123
"tasks.max":"1",
@@ -161,8 +161,8 @@ content: |
161
161
title : Change Data in MongoDB
162
162
ref : cdc-tutorial-change-data
163
163
content : |
164
- From your lower terminal, enter the
165
- `MongoDB Shell <https://docs .mongodb.com/mongodb-shell/>`__
164
+ From your lower terminal, enter the
165
+ `MongoDB Shell <https://www .mongodb.com/docs /mongodb-shell/>`__
166
166
with the following command:
167
167
168
168
.. code-block:: bash
@@ -174,7 +174,7 @@ content: |
174
174
.. code-block:: bash
175
175
:copyable: false
176
176
177
- rs0 [primary] test>
177
+ rs0 [primary] test>
178
178
179
179
.. _cdc-tutorial-change-data-insert:
180
180
@@ -188,13 +188,13 @@ content: |
188
188
189
189
Once you insert the document, you should see output that resembles the following
190
190
in your upper shell:
191
-
191
+
192
192
.. code-block:: bash
193
193
:copyable: false
194
194
195
195
{"schema":{"type":"string","optional":false},
196
- "payload":{"_id": {"_data": "8260...4"},
197
- "operationType": "insert",
196
+ "payload":{"_id": {"_data": "8260...4"},
197
+ "operationType": "insert",
198
198
"clusterTime": {"$timestamp": {"t": 1611348141, "i": 2}},
199
199
"fullDocument": {"_id": {"$oid": "600b38ad..."}, "proclaim": "Hello World!"},
200
200
"ns": {"db": "CDCTutorial", "coll": "Source"},
@@ -216,7 +216,7 @@ content: |
216
216
217
217
Try deleting your document from your ``Source`` collection with the following
218
218
command:
219
-
219
+
220
220
.. code-block:: javascript
221
221
222
222
db.Source.deleteMany({})
0 commit comments