You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/sink-connector/configuration-properties/error-handling.txt
+25-23Lines changed: 25 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -41,28 +41,30 @@ Settings
41
41
|
42
42
| **Description:**
43
43
| Whether to continue processing messages if the connector encounters
44
-
an error.
44
+
an error. Allows the connector to override the ``errors.tolerance``
45
+
Kafka cluster setting.
45
46
| When set to ``none``, the connector reports any error and
46
47
blocks further processing of the rest of the messages.
47
48
| When set to ``all``, the connector ignores any problematic messages.
48
-
| To learn more about error handling strategies, see the
49
+
| To learn more about error handling strategies, see the
49
50
:ref:`<kafka-sink-handle-errors>` page.
50
51
51
52
.. note::
52
53
53
54
This property overrides the `errors.tolerance <https://docs.confluent.io/platform/current/installation/configuration/connect/sink-connect-configs.html#errors-tolerance>`__
54
55
property of the Connect Framework.
55
56
56
-
| **Default:** ``"none"``
57
+
| **Default:** Inherits the value from the ``errors.tolerance``
58
+
setting.
57
59
| **Accepted Values**: ``"none"`` or ``"all"``
58
60
59
61
* - | **mongo.errors.log.enable**
60
62
- | **Type:** boolean
61
63
|
62
64
| **Description:**
63
-
| Whether the connector should write details of errors including
65
+
| Whether the connector should write details of errors including
64
66
failed operations to the log file. The connector classifies
65
-
errors as "tolerated" or "not tolerated" using the
67
+
errors as "tolerated" or "not tolerated" using the
66
68
``errors.tolerance`` or ``mongo.errors.tolerance`` settings.
67
69
68
70
| When set to ``true``, the connector logs both "tolerated" and
@@ -95,7 +97,7 @@ Settings
95
97
| Name of topic to use as the dead letter queue. If blank, the
96
98
connector does not send any invalid messages to the dead letter
97
99
queue.
98
-
| For more information about the dead letter queue, see the
100
+
| For more information about the dead letter queue, see the
99
101
:ref:`Dead Letter Queue Configuration Example <sink-dead-letter-queue-configuration-example>`.
100
102
|
101
103
| **Default:** ``""``
@@ -107,7 +109,7 @@ Settings
107
109
| **Description:**
108
110
| Whether the connector should include context headers when it
109
111
writes messages to the dead letter queue.
110
-
| To learn more about the dead letter queue, see the
112
+
| To learn more about the dead letter queue, see the
111
113
:ref:`Dead Letter Queue Configuration Example <sink-dead-letter-queue-configuration-example>`.
112
114
| To learn about the exceptions the connector defines and
113
115
reports through context headers, see the
@@ -145,7 +147,7 @@ as context headers when performing bulk writes:
145
147
146
148
* - Name
147
149
- Description
148
-
150
+
149
151
* - | ``WriteException``
150
152
- | **Description:**
151
153
| Contains details of a
@@ -155,26 +157,26 @@ as context headers when performing bulk writes:
155
157
| **Message Format:**
156
158
157
159
This class outputs the error in the following format:
158
-
160
+
159
161
.. code-block:: none
160
162
161
163
v=%d, code=%d, message=%s, details=%s
162
164
163
165
The fields in the preceding message contain the following information:
164
166
165
167
- ``v``: The version of the ``WriteException`` message format.
166
-
This field helps parse the messages produced by this exception.
168
+
This field helps parse the messages produced by this exception.
167
169
For version {+connector_version+} of the connector, the version of the
168
170
message format is {+write-exception-version+}.
169
-
- ``code``: The code associated with the error. To learn more see the
171
+
- ``code``: The code associated with the error. To learn more see the
0 commit comments