Skip to content

Commit 8fd6388

Browse files
biniona-mongodbschmalliso
authored andcommitted
(DOCSP-18848) Migrate Change Stream Content (#173)
1 parent 32b53c1 commit 8fd6388

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

source/source-connector/fundamentals/change-streams.txt

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,46 @@ works.
3838
Change streams are available for replica sets and sharded clusters. A
3939
standalone MongoDB instance cannot produce a change stream.
4040

41-
For more information on the oplog, see the MongoDB manual entry on the
41+
To view a list of all configuration options for change streams, see the
42+
:ref:`<source-configuration-change-stream>` page.
43+
44+
To learn more about change streams, see the following resources:
45+
46+
- :manual:`Change Streams </changeStreams>` in the MongoDB manual
47+
- `An Introduction to Change Streams <https://www.mongodb.com/blog/post/an-introduction-to-change-streams>`__
48+
blog post
49+
50+
To learn more about the oplog, see the MongoDB manual entry on the
4251
:manual:`Replica Set Oplog </core/replica-set-oplog/>`.
4352

44-
You can use an aggregation pipeline to modify change stream events in one or
45-
more of the following ways:
53+
Aggregation
54+
~~~~~~~~~~~
55+
56+
Use an aggregation pipeline to configure your source connector's change stream.
57+
Some of the ways you can configure your connector's change stream are as follows:
4658

4759
- Filter change events by operation type
4860
- Project specific fields
4961
- Update the value of fields
50-
- Add additional fields
62+
- Add fields
5163
- Trim the amount of data generated by the change stream
5264

53-
For a list of aggregation operators you can use with a change stream, see
54-
the guide on :manual:`Modify Change Stream Output </changeStreams/#modify-change-stream-output>`
55-
in the MongoDB manual.
65+
To learn which aggregation operators you can use with a change stream, see
66+
the :manual:`Modify Change Stream Output </changeStreams/#modify-change-stream-output>`
67+
guide in the MongoDB manual.
68+
69+
To view examples that use an aggregation pipeline to modify a change stream,
70+
see the following pages:
71+
72+
- :ref:`<source-usage-example-custom-pipeline>` Usage Example
73+
- :ref:`<source-usage-example-copy-existing-data>` Usage Example
5674

5775
.. _source-connector-fundamentals-change-event:
5876

5977
Change Event Structure
6078
~~~~~~~~~~~~~~~~~~~~~~
6179

62-
You can find the complete structure of change event documents, including
80+
Find the complete structure of change event documents, including
6381
descriptions of all fields,
6482
:ref:`in the MongoDB manual <change-stream-output>`.
6583

0 commit comments

Comments
 (0)