Apache Kafka Connector: Operation Publish
Input
For the Publish
operation, the adapter expects a file with the following XML structure. The input file contains the message that is to be published.
CODE
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<message>
<topic>topic1</topic>
<content>Testmessage 1 for topic 1</content>
</message>
The following elements are contained in the input file:
Element | Description |
---|---|
| Root element of the input file |
| The topic is the parameter to which the subscriber is subscribed. |
| Content of the message |