Enabling Flink for an Instance

This guide shows you how to enable Flink for an Instance, register a Flink Cluster, and manage that cluster’s lifecycle.

Type

How-to guide

Goal

Enable Flink for an Instance and register a Flink Cluster so application owners can deploy Flink applications.

Audience

Tenant Admin, a user who can configure an Instance’s settings.

When to use

Use this guide when adding Flink support, or a Flink Cluster, to an existing Axual Instance.

Prerequisites

To enable Flink for your Instance, you will need the following:

  1. Flink switched on in Axual Governance, which adds the Flink Support toggle to the Instance form. A Platform Operator does this with How to Enable Flink in Axual Governance.

  2. a Ververica Platform deployment reachable from Platform Manager

    • The URL of the Ververica REST API

    • The workspace, namespace, and deployment target names configured in Ververica

    • An operator-managed, namespace-scoped API token for that deployment target

  3. a Schema Registry (must be a Confluent-compatible endpoint) reachable from Ververica, used to resolve AVRO schemas for tables

Configuring the Instance

Once the above is ready, the Tenant Admin is able to configure Flink for any Instance that is part of their Tenant.

  1. Go to the Instances page

  2. Select the Instance for which you are enabling Flink Support and open the edit Instance form

  3. Under Flink Support, enable the Flink Support toggle

  4. Click Update Instance button

Now the Tenant Admin is able to register the Instance Cluster’s Flink Cluster.

Currently, an Instance Cluster supports at most one Flink Cluster.

  1. Open the Instance overview page for the Instance configured above.

  2. From the Flink section of the page select the Instance Cluster for which you want to register a Flink Cluster. Click View clusters

  3. Click + Register Flink Cluster

  4. Fill in the metadata:

    1. Name: use a name to refer to your cluster.

    2. Description: provide a description for your cluster.

  5. Fill in the Ververica connection info:

    1. Flink URL: the URL of the Ververica Platform REST API.

    2. Workspace: the Ververica workspace that owns the namespace below.

    3. Namespace: the Ververica namespace this cluster deploys into.

    4. Deployment Target: the Ververica deployment target used for new Flink deployments.

    5. API Token: the namespace-scoped API token provisioned by the Axual Operator. This value is write-only and cannot be retrieved after saving.

  6. Fill in the Schema Registry info:

    1. Schema Registry Endpoint: the Confluent-compatible Schema Registry endpoint used to inject table schemas at deploy time.

  7. Click Register Flink Cluster button.

Axual "Self-Service" UI, "Instances" page showing the Register Flink Cluster form

Self-Service validates the provided input against Flink before saving, and trims stray leading/trailing whitespace from every field.

Registration is rejected if the Instance Cluster already has a Flink Cluster registered. Delete the existing one first if you need to point at a different Flink deployment.

Flink support is now available for the Instance. You can start developing Flink applications.

Once a Flink Cluster is registered, the Tenant Admin can update its configuration.

  1. Open the Instance overview page for the Instance that owns the cluster.

  2. From the Flink section of the page select the Instance Cluster. Click View clusters

  3. Click the name of the Flink Cluster, then click Edit Flink Cluster

  4. Change the fields you need to update. API Token is write-only, so it loads as an empty field: leave it empty to keep the current value in Vault, or enter a new value to replace it.

  5. Click Save Changes button

Every update to a Flink Cluster is recorded in the Audit History, with the old and new value of each changed field.

A Tenant Admin can remove a Flink Cluster that is no longer needed, once no Flink application deployment still targets it.

  1. Open the Instance overview page for the Instance that owns the cluster.

  2. From the Flink section of the page select the Instance Cluster. Click View clusters

  3. Click the name of the Flink Cluster you want to delete to open its detail page.

  4. Click Delete.

  5. Review the confirmation dialog:

    1. If no Flink application deployment targets in the cluster, click Delete to confirm.

    2. If one or more Flink application deployments still target the cluster, in any deployment state, the dialog lists each one by application name and environment. The Delete button in the dialog stays disabled until you remove every listed deployment. The platform does not stop or remove deployments on your behalf.

Deleting a Flink Cluster cannot be undone.
Cluster deletion is recorded in the Audit History.

Known Limitations

Flink support in Self-Service has the following hard limits:

  • At most one Flink Cluster per Instance Cluster.

  • Flink applications support SASL (Simple Authentication and Security Layer) authentication to Kafka only. Certificate authentication (mTLS) and OAuth are not available.

  • Parallelism is fixed at 1 per Flink application; it is not user-configurable.

  • Only CREATE TEMPORARY TABLE is supported; there is no persistent Kafka catalog.

  • Stop/Resume uses Flink checkpoints only; savepoint-based stop/resume is not supported.

  • Flink itself does not support the Apicurio SerDe natively; it only uses the Confluent-compatible Schema Registry endpoint to inject table schemas.

  • Flink applications only support AVRO schemas; when connecting to a JSON or Protobuf topic, they use the RAW format instead.