Flinkのロゴ

Flink

コミュニティ
gordonmurray
flink

Architect, implement, deploy, upgrade, and troubleshoot Apache Flink stream processing jobs. Use for Flink SQL, Table API, or DataStream implementation, 1.x to 2.x migration, savepoint and state compatibility, checkpoint failures, backpressure, watermark and late-data problems, Kubernetes Operator deployment, Flink CDC pipelines, or Iceberg, Paimon, and Fluss connector work.

概要

公開者gordonmurray
リポジトリdata-engineering-skills
スキル名flink
スター
47
フォーク
4
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    gordonmurrayがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルFlinkをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/gordonmurray/data-engineering-skills/tree/main/flink
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gordonmurray/data-engineering-skills.git /tmp/data-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/data-engineering-skills/flink .claude/skills/flink
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFlinkを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にFlinkを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Flinkは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Apache Flink Data Streaming Expert

Scope

Production Flink architecture, operations, SQL and DataStream implementation, upgrade planning, and lakehouse streaming integrations.

For table-format internals use the iceberg, paimon, or fluss skills. This skill covers the Flink job and its connectors, not the storage format's own maintenance operations.

For streaming AI agent applications, use flink-agents if installed. Keep core job operations here; agent Actions, Resources, and recovery need separate checks.

Current Facts

Release guidance checked on 2026-11-03. Recheck the linked sources before selecting versions for a new deployment; preserve existing project pins.

  • Current Flink line: 2.3.x. Flink 2.3.0 was released June 25, 2026 and is the latest stable release.
  • Other releases listed on downloads: 2.2.1, 2.1.3, and 1.20.5 (LTS). A download listing alone is not a maintenance-policy guarantee.
  • Kubernetes Operator: 1.16.1, released September 23, 2026, supports Flink 2.3.x, 2.2.x, 2.1.x, 2.0.x, 1.20.x, and 1.19.x. The old 2.2 ceiling no longer applies to the operator.
  • Flink CDC: 3.7.0, with published distributions for Flink 1.20.x and 2.2.x. Do not infer CDC support for 2.3 from operator support.
  • Flink Agents: 0.4.0 is a separate preview release with distributions for Flink 1.20 and 2.0–2.3. Its version and compatibility contract are independent of core Flink.
  • Java: Flink 2.x requires Java 11+. Java 17 is the practical default for new deployments; Java 21 support is experimental.

Critical 2.x Notes

  • DataSet API removed; use DataStream, Table API, or SQL.
  • Scala DataStream/DataSet APIs removed from the core distribution.
  • SourceFunction/SinkFunction and Sink V1 patterns are obsolete; prefer Source/Sink V2 connectors.
  • flink-conf.yaml was replaced by standard YAML config.yaml in Flink 2.x.
  • Per-job deployment mode was removed; use Application mode or Kubernetes Operator patterns.
  • Validate savepoint compatibility carefully before 1.x to 2.x migrations.

Inspect First

Establish before recommending or changing anything:

  1. The Flink version of the running cluster and of the job's dependencies. These drift apart more often than users expect.
  2. Deployment mode: Application, Session, Kubernetes Operator, YARN, or standalone.
  3. State backend, checkpoint storage location, and whether a recent savepoint exists.
  4. For migrations, the exact source version, every connector version, and whether the existing savepoint can be restored by the target version.
  5. For troubleshooting, read real metrics rather than inferring: checkpoint duration and failure count, backpressure, restart count, state size, and watermark lag.

Decision Rules

  • For greenfield work, consider 2.3.x with Operator 1.16.1 when every required connector supports it. CDC 3.7 and Paimon 2.1 still constrain those pipelines to supported older lines, commonly 2.2.x. Check each artifact independently.
  • Enable checkpointing and set explicit checkpoint storage. The default is not durable across cluster restarts.
  • Use savepoints, not checkpoints, for planned upgrades and topology changes.
  • Set explicit operator UIDs before the first production deploy. A generated UID changes when the job graph changes and silently breaks state restore.
  • Make event-time assumptions visible: choose watermark strategy and allowed lateness deliberately, and decide explicitly where late data goes.
  • Prefer the Kubernetes Operator for long-running production jobs on Kubernetes.
  • Use Iceberg, Paimon, and Fluss connectors only at versions compatible with the selected Flink line.

Safety

  • Take a savepoint before any upgrade, topology change, or parallelism change, and confirm it completed before stopping the job.
  • --allowNonRestoredState silently discards state for operators missing from the new job graph. Never pass it to get past a restore failure without first identifying which operator's state is being dropped and confirming that loss is acceptable.
  • Do not delete checkpoint or savepoint directories until the replacement job has run and completed a checkpoint of its own.
  • Keep credentials out of config.yaml and job arguments; use platform secrets.
  • Rescaling and state migration are not free. State the expected downtime before proposing them for a production job.

Verify

  • Confirm the job reaches RUNNING and completes at least one checkpoint after deployment. A RUNNING job that never checkpoints is not healthy.
  • After a restore, check that state size is in the expected range. Near-zero state after a restore usually means state was silently dropped.
  • Compare checkpoint duration, restart count, and backpressure against the values from before the change.
  • For SQL changes, read the EXPLAIN plan before running against production data.
  • Report the Flink version, deployment mode, and which metrics you actually observed rather than which ones should improve.

Update Checklist

  • Recheck Flink downloads for core, CDC, connector, and Kubernetes Operator versions.
  • Update Helm/doc URLs when operator versions change.

Sources

よくある質問

AIスキル「Flink」では何ができますか?

Architect, implement, deploy, upgrade, and troubleshoot Apache Flink stream processing jobs. Use for Flink SQL, Table API, or DataStream implementation, 1.x to 2.x migration, savepoint and state compatibility, checkpoint failures, backpressure, watermark and late-data problems, Kubernetes Operator deployment, Flink CDC pipelines, or Iceberg, Paimon, and Fluss connector work.

TypingMindでFlinkを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Flinkはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFlinkをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/gordonmurray/data-engineering-skills/tree/main/flinkを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Flinkを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Flinkは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFlinkを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Flink」は無料ですか?

はい。gordonmurrayがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇