Pere Miquel Brull 34fbe5d64c
Docs - Prepare 1.7 docs and 1.8 snapshot (#20882)
* DOCS - Prepare 1.7 Release and 1.8 SNAPSHOT

* DOCS - Prepare 1.7 Release and 1.8 SNAPSHOT
2025-04-18 12:12:17 +05:30

3.0 KiB

title slug
Run the Flink Connector Externally /connectors/pipeline/flink/yaml

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

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

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

{% partial file="/v1.6/connectors/external-ingestion-deployment.md" /%}

Requirements

Python Requirements

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

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

pip3 install "openmetadata-ingestion[flink]"

Metadata Ingestion

1. Define the YAML Config

This is a sample config for Flink:

{% codePreview %}

{% codeInfoContainer %}

Source Configuration - Service Connection

{% codeInfo srNumber=1 %}

hostPort: The hostname or IP address of the Flink Connect worker with the REST API enabled

{% /codeInfo %}

{% codeInfo srNumber=2 %}

verifySSL: Whether SSL verification should be perform when authenticating.

{% /codeInfo %}

{% codeInfo srNumber=3 %}

Flink Connect Config: OpenMetadata supports SSL config or no Authentication.

*1. SSL config - caCertificate: Authorized certificate for ssl configured server. - sslCertificate: SSL certificate for the server. - sslKey: Server root key for the connection. {% /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: flink
  serviceName: flink_pipeline_dashboard
  serviceConnection:
    config:
      type: Flink
        hostPort: "https://<yourflinkhostport>" # or http://localhost:8083 or http://127.0.0.1:8083
        verifySSL: no-ssl
        sslConfig:
                caCertificate: |
                        -----BEGIN CERTIFICATE-----
                        sample certificate
                        -----END CERTIFICATE-----
                sslCertificate: |
                        -----BEGIN CERTIFICATE-----
                        sample certificate
                        -----END CERTIFICATE-----
                sslKey: |
                        -----BEGIN PRIVATE KEY-----
                        sample certificate
                        -----END PRIVATE KEY-----

{% 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" /%}