MacroHealth Internal

Publish Document

This Shovel Operation publishes a document for consumption by services consuming the selected Kafka topic.

Widget
PublishDocument.jpg
Configuration
PublishDocument.jpg
  1. Fill in the following fields:

    • Description: Allows changing the name that appears on the widget. This may be useful to quickly find a particular widget or distinguishing it from other similar shovel operation widgets when building large flows.

      Description.png
    • Shovel Operation: The name of the Shovel Operation. Pre-configured to PublishDocument.

    • topic: Select form the drop-down the name of the Kafka topic that the document will be published to.

      Example:

      {
          "operationType": "PublishDocument"
          "topic": "mhplatform_publishDocument",
          "connections": {
              "primary": "d7ad1a00-492c-479f-9ff9-2449ba5884d0"
          }
      }
  2. If necessary, click the Notes tab and enter any relevant information.

    NotesTab.jpg
  3. Return to the Configure Fields tab and click Save.

    PublishDocumentSave.jpg
  4. The widget will be marked with a green check.

    PublishDocumentGC.jpg