Skip to content

Commit b04ca31

Browse files
authored
DOCSP-28840: Marked collection as not required (#102)
1 parent 6184da4 commit b04ca31

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

source/sink-connector/configuration-properties/mongodb-namespace.txt

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ Settings
3838
- Description
3939

4040
* - | **namespace.mapper**
41-
- | **Type:** string
41+
- | **Type**: string
4242
|
43-
| **Description:**
43+
| **Description**:
4444
| The fully-qualified class name of the class that specifies which
4545
database or collection in which to sink the data. The default
4646
``DefaultNamespaceMapper`` uses values specified in the
@@ -64,24 +64,24 @@ Settings
6464
* - **database**
6565
- | *Required*
6666
|
67-
| **Type:** string
67+
| **Type**: string
6868
|
69-
| **Description:**
69+
| **Description**:
7070
| The name of the MongoDB database to which the sink connector writes.
7171
|
7272
| **Accepted Values**: A MongoDB database name
7373

7474
* - **collection**
75-
- | *Required*
76-
|
77-
| **Type:** string
75+
- | **Type**: string
7876
|
79-
| **Description:**
77+
| **Description**:
8078
| The name of the MongoDB collection to which the sink connector
8179
writes. If your sink connector follows multiple topics, this
8280
is the default collection for any writes that are not otherwise
8381
specified.
84-
|
82+
83+
| **Default**: The topic name.
84+
8585
| **Accepted Values**: A MongoDB collection name
8686

8787
.. _fieldpathnamespacemapper-settings:
@@ -118,37 +118,37 @@ You can use the following settings to customize the behavior of the
118118
- Description
119119

120120
* - | **namespace.mapper.key.database.field**
121-
- | **Type:** string
121+
- | **Type**: string
122122
|
123-
| **Description:**
123+
| **Description**:
124124
| The name of the key document field that specifies the name of the
125125
database in which to write.
126126

127127
* - | **namespace.mapper.key.collection.field**
128-
- | **Type:** string
128+
- | **Type**: string
129129
|
130-
| **Description:**
130+
| **Description**:
131131
| The name of the key document field that specifies the name of the
132132
collection in which to write.
133133

134134
* - | **namespace.mapper.value.database.field**
135-
- | **Type:** string
135+
- | **Type**: string
136136
|
137-
| **Description:**
137+
| **Description**:
138138
| The name of the value document field that specifies the name of the
139139
database in which to write.
140140

141141
* - | **namespace.mapper.value.collection.field**
142-
- | **Type:** string
142+
- | **Type**: string
143143
|
144-
| **Description:**
144+
| **Description**:
145145
| The name of the value document field that specifies the name of the
146146
collection in which to write.
147147

148148
* - | **namespace.mapper.error.if.invalid**
149-
- | **Type:** boolean
149+
- | **Type**: boolean
150150
|
151-
| **Description:**
151+
| **Description**:
152152
| Whether to throw an exception when either the document is missing the
153153
mapped field or it has an invalid BSON type.
154154
| When set to ``true``, the connector does not process documents

0 commit comments

Comments
 (0)