@@ -38,9 +38,9 @@ Settings
38
38
- Description
39
39
40
40
* - | **namespace.mapper**
41
- - | **Type:** string
41
+ - | **Type**: string
42
42
|
43
- | **Description:**
43
+ | **Description**:
44
44
| The fully-qualified class name of the class that specifies which
45
45
database or collection in which to sink the data. The default
46
46
``DefaultNamespaceMapper`` uses values specified in the
@@ -64,24 +64,24 @@ Settings
64
64
* - **database**
65
65
- | *Required*
66
66
|
67
- | **Type:** string
67
+ | **Type**: string
68
68
|
69
- | **Description:**
69
+ | **Description**:
70
70
| The name of the MongoDB database to which the sink connector writes.
71
71
|
72
72
| **Accepted Values**: A MongoDB database name
73
73
74
74
* - **collection**
75
- - | *Required*
76
- |
77
- | **Type:** string
75
+ - | **Type**: string
78
76
|
79
- | **Description:**
77
+ | **Description**:
80
78
| The name of the MongoDB collection to which the sink connector
81
79
writes. If your sink connector follows multiple topics, this
82
80
is the default collection for any writes that are not otherwise
83
81
specified.
84
- |
82
+
83
+ | **Default**: The topic name.
84
+
85
85
| **Accepted Values**: A MongoDB collection name
86
86
87
87
.. _fieldpathnamespacemapper-settings:
@@ -118,37 +118,37 @@ You can use the following settings to customize the behavior of the
118
118
- Description
119
119
120
120
* - | **namespace.mapper.key.database.field**
121
- - | **Type:** string
121
+ - | **Type**: string
122
122
|
123
- | **Description:**
123
+ | **Description**:
124
124
| The name of the key document field that specifies the name of the
125
125
database in which to write.
126
126
127
127
* - | **namespace.mapper.key.collection.field**
128
- - | **Type:** string
128
+ - | **Type**: string
129
129
|
130
- | **Description:**
130
+ | **Description**:
131
131
| The name of the key document field that specifies the name of the
132
132
collection in which to write.
133
133
134
134
* - | **namespace.mapper.value.database.field**
135
- - | **Type:** string
135
+ - | **Type**: string
136
136
|
137
- | **Description:**
137
+ | **Description**:
138
138
| The name of the value document field that specifies the name of the
139
139
database in which to write.
140
140
141
141
* - | **namespace.mapper.value.collection.field**
142
- - | **Type:** string
142
+ - | **Type**: string
143
143
|
144
- | **Description:**
144
+ | **Description**:
145
145
| The name of the value document field that specifies the name of the
146
146
collection in which to write.
147
147
148
148
* - | **namespace.mapper.error.if.invalid**
149
- - | **Type:** boolean
149
+ - | **Type**: boolean
150
150
|
151
- | **Description:**
151
+ | **Description**:
152
152
| Whether to throw an exception when either the document is missing the
153
153
mapped field or it has an invalid BSON type.
154
154
| When set to ``true``, the connector does not process documents
0 commit comments