File tree Expand file tree Collapse file tree 5 files changed +42
-2
lines changed Expand file tree Collapse file tree 5 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 11define: prefix docs/kafka-connector
22define: base https://www.mongodb.com/${prefix}
33
4- define: versions v1.0 v1.1 v1.2 v1.3 v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11 master
4+ define: versions v1.0 v1.1 v1.2 v1.3 v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 master
55
66symlink: current -> master
77
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ avro = "Avro"
1515avro-converter =" Kafka Connect Avro Converter (Avro Converter)"
1616protobuf-converter =" Kafka Connect Protobuf Converter"
1717json-schema-converter =" Kafka Connect JSON Schema Converter"
18- connector_version =" 1.11 "
18+ connector_version =" 1.12 "
1919connector_patch_version =" 2"
2020connector_driver_version =" 4.7"
2121connector_version_github_tag =" master"
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ Connector Error Handling Properties
1010 :depth: 2
1111 :class: singlecol
1212
13+ .. facet::
14+ :name: genre
15+ :values: reference
16+
17+ .. meta::
18+ :keywords: errors, options, configure
19+
1320Overview
1421--------
1522
@@ -44,6 +51,8 @@ Settings
4451 | When set to ``none``, the connector reports any error and
4552 blocks further processing of the rest of the messages.
4653 | When set to ``all``, the connector ignores any problematic messages.
54+ | When set to ``data``, the connector tolerates only data errors and
55+ fails on all other errors.
4756 | To learn more about error handling strategies, see the
4857 :ref:`<kafka-sink-handle-errors>` page.
4958
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ Error Handling
1010 :depth: 2
1111 :class: singlecol
1212
13+ .. facet::
14+ :name: genre
15+ :values: reference
16+
17+ .. meta::
18+ :keywords: sink, processing
19+
1320Overview
1421--------
1522
@@ -90,6 +97,20 @@ option:
9097 you lose less data. To learn more about bulk write operations, see
9198 the :ref:`Write Model Strategies page <sink-connector-bulk-write-ops>`.
9299
100+ Tolerate Data Errors
101+ ~~~~~~~~~~~~~~~~~~~~
102+
103+ You can configure your sink connector to tolerate only data errors, and stop
104+ processing for all others. With this setting, the connector sends data errors to the dead
105+ letter queue if one is configured.
106+
107+ Configure your sink connector to tolerate only data errors by specifying the
108+ following option:
109+
110+ .. code-block:: properties
111+
112+ errors.tolerance=data
113+
93114.. _kafka-sink-errors-dlq:
94115
95116Write Errors and Errant Messages to a Topic
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ What's New
1919
2020Learn what's new by version:
2121
22+ * :ref:`Version 1.12 <kafka-connector-whats-new-1.12>`
2223* :ref:`Version 1.11.2 <kafka-connector-whats-new-1.11.2>`
2324* :ref:`Version 1.11.1 <kafka-connector-whats-new-1.11.1>`
2425* :ref:`Version 1.11 <kafka-connector-whats-new-1.11>`
@@ -38,6 +39,15 @@ Learn what's new by version:
3839* :ref:`Version 1.1 <kafka-connector-whats-new-1.1>`
3940* :ref:`Version 1.0 <kafka-connector-whats-new-1.0>`
4041
42+ .. _kafka-connector-whats-new-1.12:
43+
44+ What's New in 1.12
45+ ------------------
46+
47+ - Added support for a ``data`` configuration value in the ``mongo.errors.tolerance``
48+ configuration setting. With ``mongo.errors.tolerance=data``, the sink
49+ connector tolerates only data errors, and fails for any others.
50+
4151.. _kafka-connector-whats-new-1.11.2:
4252
4353What's New in 1.11.2
You can’t perform that action at this time.
0 commit comments