Configuring Tanzu Data Flow Service Instance for Tanzu-Provided Applications
search cancel

Configuring Tanzu Data Flow Service Instance for Tanzu-Provided Applications

book

Article ID: 443996

calendar_today

Updated On:

Products

VMware Tanzu Platform Core

Issue/Introduction

Users attempting to set up Tanzu Data Flow for Tanzu Platform may encounter issues retrieving or registering Tanzu-provided applications (Source, Processor, Sink) if the Maven repository or authentication tokens are incorrectly configured in the tile or service instance.

Environment

  • Tanzu Data Flow 
  • Tanzu Platform

Cause

In Tanzu Platform environments, Tanzu-provided applications are often hosted in restricted or commercial repositories (such as the Broadcom Artifactory) rather than public repositories like repo.spring.io. Failure to provide the correct registry_token or repository URL prevents the Data Flow server from resolving application coordinates.

Resolution

 

Step 1: Obtain Your Registry Token

Before configuring the service instance, you must retrieve (or generate) your commercial repository credentials from the Broadcom Support Portal.

 

Step 2: Configure the Service Instance

Option 1:
Configure the Broadcom Maven artifact repository as a default Maven repository for all service instances managed by the tile. See configuring default Maven repositories. Use "https://packages.broadcom.com/artifactory/tanzu-dataflow-maven" as the Maven repository URL and your Broadcom username and token as the password. 

Option 2:
As an alternative, you can configure custom Maven parameters for your Tanzu Data Flow service instance directly by passing a JSON configuration string when creating or updating the instance via the cf CLI.

Use the -c flag with the desired Maven properties: 

cf create-service dataflow standard dataflow \
-c '{
  "maven.remote-repositories.tanzu-dataflow.url": "https://packages.broadcom.com/artifactory/tanzu-dataflow-maven",
  "maven.remote-repositories.tanzu-dataflow.auth.username": "YOUR_BROADCOM_USERNAME",
  "maven.remote-repositories.tanzu-dataflow.auth.password": "YOUR_BROADCOM_TOKEN"
}'

where: 
  YOUR_BROADCOM_TOKEN - is the you generated Registry Token from Step 1.

 

Step 3: Register Applications

Once the service instance is running with the correct Maven settings, you can register the Tanzu-provided applications using the Data Flow Shell or Dashboard by providing the coordinate metadata URLs provided in the Broadcom documentation.

Related Article