Flink overview
Apache Flink is an open-source distributed framework that processes continuous data streams in real time with low latency, and it also runs batch processing. In FPT Data Platform, you create Flink as a service in your workspace and run your Flink jobs on it.
How Flink fits in FPT Data Platform
Flink supports stateful processing, scales out, and keeps your data consistent. Common uses are big data analytics, machine learning, IoT, finance, and system monitoring.
A Flink service runs on two groups of nodes in your workspace and uses two kinds of storage.
| Part | Description |
|---|---|
| Job manager | 2 nodes of type Medium-4 (2 CPU - 4 GB RAM). You choose their storage policy. |
| Task manager | 1 to 10 nodes of the type you choose. With auto scaling on, the service can add task manager nodes up to a maximum of 10. |
| Task slots | The number of slots per task, from 1 to 4, and the total slots of the service. |
| Checkpoint/Savepoint storage | An S3 bucket that stores the state of your streaming applications. |
| Job storage | A storage mounted on the workspace that holds the .jar files of your jobs. You can upload jobs to it directly in S3. |
| Custom domain | Optional. Your own domain for the service, with a certificate from the workspace. |
When the service is ready, you open Flink with the URL, Username, and Password on the Essential Information tab of the service. See View Flink details.
Service lifecycle
- You create the service on a form with four screens: Basic Information, Nodes Configuration, Advanced, and Review & Create. It is ready in about 10 minutes, when its Status is Healthy.
- You check its status and settings on the service details page.
- You delete it from the Actions menu. Deleting it cannot be undone.
What you need before you create one
- A workspace whose Status is Connected. See Create a workspace.
- A storage mounted on the workspace for Flink, to hold your job files. See Manage workspace storage.
- The endpoint, access key, secret, and bucket name of the S3 storage for checkpoints and savepoints.
- To use a custom domain, a certificate imported on the Certificate tab of the workspace. See Manage certificates.