Skip to content

Commit

Permalink
DOCSP-39495 v1.12 release (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-smith721 authored May 21, 2024
1 parent 481f12f commit 2fca43f
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/redirects
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
define: prefix docs/kafka-connector
define: base https://www.mongodb.com/${prefix}

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

symlink: current -> master

Expand Down
2 changes: 1 addition & 1 deletion snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ avro = "Avro"
avro-converter="Kafka Connect Avro Converter (Avro Converter)"
protobuf-converter="Kafka Connect Protobuf Converter"
json-schema-converter="Kafka Connect JSON Schema Converter"
connector_version="1.11"
connector_version="1.12"
connector_patch_version="2"
connector_driver_version="4.7"
connector_version_github_tag="master"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Connector Error Handling Properties
:depth: 2
:class: singlecol

.. facet::
:name: genre
:values: reference

.. meta::
:keywords: errors, options, configure

Overview
--------

Expand Down Expand Up @@ -44,6 +51,8 @@ Settings
| When set to ``none``, the connector reports any error and
blocks further processing of the rest of the messages.
| When set to ``all``, the connector ignores any problematic messages.
| When set to ``data``, the connector tolerates only data errors and
fails on all other errors.
| To learn more about error handling strategies, see the
:ref:`<kafka-sink-handle-errors>` page.

Expand Down
21 changes: 21 additions & 0 deletions source/sink-connector/fundamentals/error-handling-strategies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Error Handling
:depth: 2
:class: singlecol

.. facet::
:name: genre
:values: reference

.. meta::
:keywords: sink, processing

Overview
--------

Expand Down Expand Up @@ -90,6 +97,20 @@ option:
you lose less data. To learn more about bulk write operations, see
the :ref:`Write Model Strategies page <sink-connector-bulk-write-ops>`.

Tolerate Data Errors
~~~~~~~~~~~~~~~~~~~~

You can configure your sink connector to tolerate only data errors, and stop
processing for all others. With this setting, the connector sends data errors to the dead
letter queue if one is configured.

Configure your sink connector to tolerate only data errors by specifying the
following option:

.. code-block:: properties

errors.tolerance=data

.. _kafka-sink-errors-dlq:

Write Errors and Errant Messages to a Topic
Expand Down
10 changes: 10 additions & 0 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ What's New

Learn what's new by version:

* :ref:`Version 1.12 <kafka-connector-whats-new-1.12>`
* :ref:`Version 1.11.2 <kafka-connector-whats-new-1.11.2>`
* :ref:`Version 1.11.1 <kafka-connector-whats-new-1.11.1>`
* :ref:`Version 1.11 <kafka-connector-whats-new-1.11>`
Expand All @@ -38,6 +39,15 @@ Learn what's new by version:
* :ref:`Version 1.1 <kafka-connector-whats-new-1.1>`
* :ref:`Version 1.0 <kafka-connector-whats-new-1.0>`

.. _kafka-connector-whats-new-1.12:

What's New in 1.12
------------------

- Added support for a ``data`` configuration value in the ``mongo.errors.tolerance``
configuration setting. With ``mongo.errors.tolerance=data``, the sink
connector tolerates only data errors, and fails for any others.

.. _kafka-connector-whats-new-1.11.2:

What's New in 1.11.2
Expand Down

0 comments on commit 2fca43f

Please sign in to comment.