Skip to content

Commit a986b88

Browse files
authored
Merge pull request #1321 from datanav/IS-18594
IS-18594: Improvements to kafka system, source and sink
2 parents d9ae108 + 335018b commit a986b88

4 files changed

Lines changed: 40 additions & 5 deletions

File tree

hub/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
.. _changelog_2025-12-01:
5+
6+
2025-12-01
7+
----------
8+
* Added schema registry and Avro support to the :ref:`Kafka system <kafka_system>`, :ref:`Kafka source <kafka_source>` and :ref:`Kafka sink <kafka_sink>`.
9+
410
.. _changelog_2025-10-10:
511

612
2025-10-10

hub/documentation/service-configuration/pipes/configuration-sinks-kafka.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ Properties
6464
- ``"json"``
6565
-
6666

67+
* - ``strategy``
68+
- String
69+
- Name of the strategy to use for the message. Allowed values are ``"key-value"`` and ``"value"``. The ``"key-value"`` will use the ``key`` property as the message key and ``value`` property as the message value. The ``"value"`` strategy will use the sink entity as the message value and the ``_id`` property as the message key.
70+
- ``"key-value"``
71+
-
72+
6773
* - ``delivery_timeout_ms``
6874
- Integer
6975
- The time in milliseconds to await acknowledgement from the broker and the time allowed for retriable send failures.

hub/documentation/service-configuration/pipes/configuration-sources-kafka.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,22 @@ Properties
6565

6666
* - ``key_deserializer``
6767
- String
68-
- Name of the deserializer to use for the key. Allowed values are ``"bytes"``, ``"string"``, ``"json"``, ``"confluent_schema_json"``.
68+
- Name of the deserializer to use for the key. Allowed values are ``"bytes"``, ``"string"``, ``"json"``, ``"schema_registry_avro"``.
6969
- ``"string"``
7070
-
7171

7272
* - ``value_deserializer``
7373
- String
74-
- Name of the deserializer to use for the value. Allowed values are ``"bytes"``, ``"string"``, ``"json"``, ``"confluent_schema_json"``.
74+
- Name of the deserializer to use for the value. Allowed values are ``"bytes"``, ``"string"``, ``"json"``, ``"schema_registry_avro"``.
7575
- ``"json"``
7676
-
7777

78+
* - ``strategy``
79+
- String
80+
- Name of the strategy to use for the message. Allowed values are ``"key-value"`` and ``"value"``. The ``"key-value"`` will return the message key in the ``key`` property and the message value in the ``value`` property. The ``"value"`` strategy will return the message value as the source entity. The message ``_id`` will be generated from the message key if possible.
81+
- ``"key-value"``
82+
-
83+
7884
* - ``strict``
7985
- Boolean
8086
- If the key or value cannot be deserialized then the pipe will fail if ``"strict"`` is ``true``. If ``false`` then pipe won't fail, but an invalid key will be stored in the ``"invalid_key"`` property and an invalid value will stored in the ``"invalid_value`` property. Note that if key serialization fails then the resulting entity won't have an ``"_id"`` property, so that must be dealt with in the pipe.

hub/documentation/service-configuration/systems/configuration-systems-kafka.rst

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,33 @@ Properties
3838

3939
* - ``sasl_username``
4040
- String
41-
- Username to use when authentication against a SASL enabled Kafka cluster. If username is set, authentication will be performed.
41+
- Username to use when authenticating against a SASL enabled Kafka cluster. If username is set, authentication will be performed.
4242
For Azure Event Hubs this property must be set to ``$ConnectionString`` and the connection string should be passed as the
4343
password.
4444
-
4545
- No
4646

47-
4847
* - ``sasl_password``
4948
- String
50-
- Password to use when authentication against a SASL enabled Kafka cluster. For Azure Event Hubs this should be set to ``Endpoint=sb://[...]``.
49+
- Password to use when authenticating against a SASL enabled Kafka cluster. For Azure Event Hubs this should be set to ``Endpoint=sb://[...]``.
50+
-
51+
- No
52+
53+
* - ``registry_url``
54+
- String
55+
- The URL of the schema registry endpoint.
5156
-
5257
- No
5358

59+
* - ``registry_username``
60+
- String
61+
- The username to use when authenticating against the schema registry.
62+
-
63+
- Required when ``registry_url`` is specified.
64+
65+
* - ``registry_password``
66+
- String
67+
- The password to use when authenticating against the schema registry.
68+
-
69+
- Required when ``registry_url`` is specified.
70+

0 commit comments

Comments
 (0)