2024-12-10 19:09:00 +01:00

2.9 KiB

title slug collate
Run the Stitch Connector Externally /connectors/pipeline/stitch/yaml true

{% connectorDetailsHeader name="Stitch" stage="PROD" platform="Collate" availableFeatures=["Pipelines", "Lineage"] unavailableFeatures=["Owners", "Tags", "Pipeline Status"] / %}

In this section, we provide guides and references to use the Stitch connector.

Configure and schedule Stitch metadata and profiler workflows from the OpenMetadata UI:

{% partial file="/v1.6/connectors/ingestion-modes-tiles.md" variables={yamlPath: "/connectors/pipeline/stitch/yaml"} /%}

Requirements

To extract metadata from Stitch, User first need to crate API crednetials:

  • Token: Token to access Stitch metadata.

Python Requirements

{% partial file="/v1.6/connectors/python-requirements.md" /%}

To run the Stitch ingestion, you will need to install:

pip3 install "openmetadata-ingestion[stitch]"

Metadata Ingestion

All connectors are defined as JSON Schemas. Here you can find the structure to create a connection to Stitch.

In order to create and run a Metadata Ingestion workflow, we will follow the steps to create a YAML configuration able to connect to the source, process the Entities if needed, and reach the OpenMetadata server.

The workflow is modeled around the following JSON Schema

1. Define the YAML Config

This is a sample config for Stitch:

{% codePreview %}

{% codeInfoContainer %}

Source Configuration - Service Connection

{% codeInfo srNumber=1 %}

hostPort: The hostname or IP address with the REST API enabled eg.https://api.stitchdata.com

{% /codeInfo %}

{% codeInfo srNumber=2 %}

token: Token to get access to Stitch metadata.

{% /codeInfo %}

{% partial file="/v1.6/connectors/yaml/pipeline/source-config-def.md" /%}

{% partial file="/v1.6/connectors/yaml/ingestion-sink-def.md" /%}

{% partial file="/v1.6/connectors/yaml/workflow-config-def.md" /%}

{% /codeInfoContainer %}

{% codeBlock fileName="filename.yaml" %}

source:
  type: stitch
  serviceName: stitch_data
  serviceConnection:
    config:
      type: Stitch
        hostPort: "https://api.stitchdata.com"
        token: "token"

{% partial file="/v1.6/connectors/yaml/pipeline/source-config.md" /%}

{% partial file="/v1.6/connectors/yaml/ingestion-sink.md" /%}

{% partial file="/v1.6/connectors/yaml/workflow-config.md" /%}

{% /codeBlock %}

{% /codePreview %}

{% partial file="/v1.6/connectors/yaml/ingestion-cli.md" /%}