Skip to content

Commit 2fca43f

Browse files
DOCSP-39495 v1.12 release (#158)
1 parent 481f12f commit 2fca43f

File tree

5 files changed

+42
-2
lines changed

5 files changed

+42
-2
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
define: prefix docs/kafka-connector
22
define: 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

66
symlink: current -> master
77

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ avro = "Avro"
1515
avro-converter="Kafka Connect Avro Converter (Avro Converter)"
1616
protobuf-converter="Kafka Connect Protobuf Converter"
1717
json-schema-converter="Kafka Connect JSON Schema Converter"
18-
connector_version="1.11"
18+
connector_version="1.12"
1919
connector_patch_version="2"
2020
connector_driver_version="4.7"
2121
connector_version_github_tag="master"

source/sink-connector/configuration-properties/error-handling.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
1320
Overview
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

source/sink-connector/fundamentals/error-handling-strategies.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
1320
Overview
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

95116
Write Errors and Errant Messages to a Topic

source/whats-new.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ What's New
1919

2020
Learn 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

4353
What's New in 1.11.2

0 commit comments

Comments
 (0)