Skip to content

The managed Apache Flink service on the LakeSail platform is deprecated.

LakeSail is building Sail, an open-source computation framework in Rust to seamlessly integrate stream-processing, batch-processing, and compute-intensive (AI) workloads. The LakeSail platform will offer the managed solution for Sail. Existing PySpark and Flink SQL workloads can be migrated with ease. Please stay tuned and contact us if you are interested!

CreateFlinkSessionJob

Creates a Flink session job.

post/api/flink/v1/workspaces/{ws}/sessions/{session}/jobs

Path Parameters

  • ws required

    A workspace ID.

    • Schema ResourceId
    • Type string
    • Minimum Length 1
    • Maximum Length 20
    • Pattern ^[A-Z0-9]+$
  • session required

    A Flink session ID.

    • Schema ResourceId
    • Type string
    • Minimum Length 1
    • Maximum Length 20
    • Pattern ^[A-Z0-9]+$

Query Parameters

This operation does not have query parameters.

Request Body

  • Schema FlinkSessionJobSpec
  • Type object
  • Properties
    • name required

      The Flink session job name.

    • flinkConfiguration required

      The Flink configuration specific to the Flink session job. This overrides the Flink configuration of the Flink session cluster when applicable. Some configuration options may not have an effect if they cannot be overridden by session jobs.

    • job required

      The job specification of the Flink session job.

Responses

201 Response

The Flink session job was created successfully.

  • Schema FlinkSessionJobSummary
  • Type object
  • Properties
    • id required

      The Flink session job ID.

    • name required

      The Flink session job name.

    • state required

      The state of the Flink session job.

    • createdAt required

      The time when the Flink session job was created.

      • Type string
      • Format date-time
    • updatedAt required

      The time when the Flink session job was last updated.

      • Type string
      • Format date-time

400 Response

The requested operation cannot be performed because the request is malformed.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

401 Response

The requested operation cannot be performed because the request lacks valid authentication credentials.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

403 Response

The identity is not allowed to perform the requested operation for the resource involved.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

404 Response

The resource or dependent resources involved in the requested operation do not exist.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

Default Response

The requested operation failed with an error.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string