You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- README been reviewed or updated in light of
what we are adding to the converter and
transformation documentation cards
Signed-off-by: Joel Hanson <[email protected]>
- an MQ Source Record builder for parsing MQ messages containing XML strings
12
+
An MQ Source Record builder for parsing MQ messages containing XML strings.
13
13
14
14
## Configuration
15
15
16
-
Optional configuration that can be set when using the plugin to turn XML strings into Connect records (XML string -> Conect Record)
16
+
The following table lists optional configuration that can be set when turning XML strings into Connect records by using the plug-ins (XML string to Connect record).
|`root.element.name`|`root`| The name of the root element in the XML document that is being parsed.|
21
+
|`xsd.schema.path`||The location of the schema file to use when parsing the XML string. |
22
+
|`xml.doc.flat.enable`|`false`| Set to `true` if the XML strings contain a single value (for example,`<root>the message</root>`) |
23
23
24
-
Optional configuration that can be set when using the plugin to create XML strings from Connect records (Conect Record -> XML string)
24
+
The following table lists optional configuration that can be set when turning Connect records into XML strings by using the plug-ins (Connect Record to XML string)
|`root.element.name`|`root`| The name to use for the root element of the XML document being created. Only used when no name can be found within the schema of the Connect record. |
29
29
30
30
## Example uses
31
31
32
-
Use **`XmlConverter`** with Source Connectors to produce structured Connect records to Kafka topics as XML strings.
32
+
Use **`XmlConverter`** with source connectors to produce structured Connect records to Kafka topics as XML strings.
Use **`XmlConverter`** with Source Connectors to produce Connect records to Kafka topics as XML strings, with an embedded XSD schema. (requires structs)
39
+
Use **`XmlConverter`** with source connectors to produce Connect records to Kafka topics as XML strings, with an embedded XSD schema (requires structured objects).
0 commit comments