@@ -19,7 +19,7 @@ This guide describes how to use **converters** with the {+connector+}.
19
19
Converters are programs that translate between bytes and
20
20
{+kafka-connect+}'s runtime data format.
21
21
22
- Converters pass data between {+kafka-connect+} and Apache Kafka. The {+ connector+} passes data
22
+ Converters pass data between {+kafka-connect+} and Apache Kafka. The connector passes data
23
23
between MongoDB and {+kafka-connect+}. The following diagram shows these relationships:
24
24
25
25
.. figure:: /includes/figures/converters.png
@@ -34,12 +34,12 @@ To learn more about converters, see the following resources:
34
34
Available Converters
35
35
--------------------
36
36
37
- As the {+ connector+} converts your MongoDB data into {+kafka-connect+}'s runtime data
38
- format, the {+ connector+} works with all available converters.
37
+ As the connector converts your MongoDB data into {+kafka-connect+}'s runtime data
38
+ format, the connector works with all available converters.
39
39
40
40
.. important:: Use the Same Converter for your Source and Sink Connectors
41
41
42
- You must use the same converter in your source and sink connectors .
42
+ You must use the same converter in your {+ source-connector+} and {+ sink-connector+} .
43
43
For example, if your source connector writes to a topic using Protobuf, your
44
44
sink connector must use Protobuf to read from the topic.
45
45
@@ -49,7 +49,7 @@ Converters with Schemas
49
49
~~~~~~~~~~~~~~~~~~~~~~~
50
50
51
51
If you use a schema-based converter such as the converter for Avro, Protobuf, or
52
- JSON Schema, you should define a schema in your {+connector+} source connector.
52
+ JSON Schema, you should define a schema in your source connector.
53
53
54
54
To learn how to specify a schema, see the
55
55
:ref:`<kafka-source-apply-schemas>` guide.
@@ -58,7 +58,7 @@ Connector Configuration
58
58
-----------------------
59
59
60
60
This section provides templates for properties files to configure the following
61
- converters in a {+ connector+} pipeline:
61
+ converters in a connector pipeline:
62
62
63
63
- :ref:`Avro Converter <avro-converter-sample-properties>`
64
64
- :ref:`Protobuf Converter <protobuf-converter-sample-properties>`
@@ -274,7 +274,7 @@ Click the following tabs to view properties files that work with the String conv
274
274
275
275
.. important:: Received Strings Must be Valid JSON
276
276
277
- Your {+connector+} sink connector must receive valid JSON strings from your
277
+ Your sink connector must receive valid JSON strings from your
278
278
{+kafka+} topic even when using a String converter.
279
279
280
280
To use the preceding properties file, replace the placeholder text in angle
0 commit comments