شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها gordonmurray على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Flink في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/gordonmurray/data-engineering-skills/tree/main/flink
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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

فعّل Flink في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Flink تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Flink بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Flink على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Flink عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Flink في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/gordonmurray/data-engineering-skills/tree/main/flink. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Flink؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Flink؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Flink معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Flink مجانية؟

نعم. نشرها gordonmurray على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇