File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ Streaming Read Configuration Options
10
10
:depth: 1
11
11
:class: singlecol
12
12
13
+ .. facet::
14
+ :name: genre
15
+ :values: reference
16
+
17
+ .. meta::
18
+ :keywords: change stream, customize
19
+
13
20
.. _spark-streaming-input-conf:
14
21
15
22
Overview
@@ -150,15 +157,20 @@ You can configure the following properties when reading a change stream from Mon
150
157
- | Specifies whether to publish the changed document or the full
151
158
change stream document.
152
159
|
160
+ | When this setting is ``false``, you must specify a schema. The schema
161
+ must include all fields that you want to read from the change stream. You can
162
+ use optional fields to ensure that the schema is valid for all change-stream
163
+ events.
164
+ |
153
165
| When this setting is ``true``, the connector exhibits the following behavior:
154
166
155
167
- The connector filters out messages that
156
- omit the ``fullDocument`` field and only publishes the value of the
168
+ omit the ``fullDocument`` field and publishes only the value of the
157
169
field.
158
170
- If you don't specify a schema, the connector infers the schema
159
171
from the change stream document rather than from the underlying collection.
160
172
161
- **Default**: ``false``
173
+ **Default**: ``false``
162
174
163
175
.. note::
164
176
You can’t perform that action at this time.
0 commit comments