شعار Apache Beam Unified Batch And Stream

Apache Beam Unified Batch And Stream

المجتمع
vaquarkhan
apache-beam-unified-batch-and-stream

Guides agents through Apache Beam pipelines that unify batch and streaming logic. Use when designing Beam transforms, windowing, runners, replay behavior, or portability across execution backends.

نظرة عامة

الناشرvaquarkhan
المستودعdata-engineering-agent-skills
اسم المهارةapache-beam-unified-batch-and-stream
النجوم
60
التفريعات
8
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vaquarkhan/data-engineering-agent-skills.git /tmp/data-engineering-agent-skills
mkdir -p .claude/skills
cp -r /tmp/data-engineering-agent-skills/skills/apache-beam-unified-batch-and-stream .claude/skills/apache-beam-unified-batch-and-stream
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

يُحمّل النموذج مهارة Apache Beam Unified Batch And Stream تلقائيًا بمجرد ورود طلب ذي صلة بها.

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

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

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

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

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

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Apache Beam Unified Batch And Stream

Overview

Use this skill when Apache Beam is the abstraction layer for both batch and streaming data processing. It helps agents preserve portability without hiding time semantics or runner-specific constraints.

When to Use

  • building Apache Beam pipelines for batch, streaming, or unified workloads
  • targeting multiple runners such as Dataflow, Flink, Spark, or Direct Runner
  • sharing transform logic across batch and streaming modes
  • managing windowing, watermarks, triggers, and late data handling
  • designing portable pipelines that must run across environments

Do not use this when the workload is locked to a single runner and Beam portability is not a goal.

Workflow

  1. Define the pipeline contract and time semantics. Include:

    • input PCollections and their bounded or unbounded nature
    • event-time versus processing-time expectations
    • output schema, grain, and freshness requirements
    • delivery guarantees expected by downstream consumers
  2. Separate portable pipeline logic from runner-specific deployment.

    • keep transforms, DoFns, and combiners runner-agnostic
    • isolate runner configuration (parallelism, autoscaling, resource hints) into pipeline options
    • document which runners are supported and tested
    • avoid runner-specific APIs unless portability is explicitly sacrificed
  3. Design windowing and trigger strategy explicitly. Account for:

    • fixed, sliding, session, or global windows
    • trigger behavior: when to emit, accumulate, or discard
    • allowed lateness and late data routing
    • watermark advancement assumptions per source
  4. Handle state and side inputs carefully.

    • stateful DoFns bind to a specific key space — document key cardinality
    • side inputs can become bottlenecks at scale — prefer bounded and small
    • timers must account for watermark-driven versus processing-time semantics
    • state cleanup must be explicit for unbounded pipelines
  5. Make testing and local validation part of the workflow.

    • use DirectRunner for correctness tests
    • validate windowing behavior with synthetic watermark progression
    • test exactly-once semantics through pipeline drains and restarts
    • confirm output idempotency for at-least-once runners
  6. Plan deployment, scaling, and operational observability.

    • define autoscaling boundaries and cost limits per runner
    • expose transform-level metrics for latency, throughput, and backlog
    • plan drain and update strategies for streaming pipelines
    • document rollback: can the pipeline be redeployed at an earlier version safely?

Common Rationalizations

RationalizationReality
"Beam is portable so we don't need to think about runners."Runner differences in autoscaling, state backends, shuffle behavior, and fusion affect correctness and cost. Testing on a single runner is not proof of portability.
"We can use the same pipeline for batch and streaming without changes."Bounded and unbounded PCollections behave differently with respect to windowing, triggers, and watermarks. Unified does not mean identical.
"DirectRunner tests are enough."DirectRunner does not expose parallelism, shuffle, or scaling issues. Integration tests on the target runner are required for production confidence.
"Late data can be handled later."Late data handling must be part of the initial window and trigger design. Retrofitting allowed lateness after consumers depend on outputs is breaking.

Red Flags

  • pipeline runs on DirectRunner only and has never been tested on the production runner
  • windowing strategy is undefined or uses global windows for unbounded sources
  • no documentation of which runners are supported or tested
  • stateful DoFns have no key cardinality analysis or state cleanup plan
  • pipeline updates require full reprocessing because no drain or savepoint strategy exists
  • side inputs are unbounded or grow without limit
  • no metrics or observability beyond runner-provided defaults

Verification

  • Pipeline contract defines inputs, outputs, time semantics, and delivery guarantees
  • Windowing, triggers, and allowed lateness are explicitly designed and tested
  • Runner-specific configuration is isolated from portable transform logic
  • State and side inputs are bounded and have cleanup or eviction plans
  • Pipeline has been tested on the target production runner, not just DirectRunner
  • Drain, update, and rollback strategies are documented
  • Operational metrics cover latency, throughput, backlog, and error rates per transform

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

ماذا تفعل مهارة الذكاء الاصطناعي Apache Beam Unified Batch And Stream؟

Guides agents through Apache Beam pipelines that unify batch and streaming logic. Use when designing Beam transforms, windowing, runners, replay behavior, or portability across execution backends.

لماذا تستخدم Apache Beam Unified Batch And Stream على TypingMind؟

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

كيف أثبّت Apache Beam Unified Batch And Stream في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/vaquarkhan/data-engineering-agent-skills/tree/main/skills/apache-beam-unified-batch-and-stream. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Apache Beam Unified Batch And Stream؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Apache Beam Unified Batch And Stream؟

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

هل مهارة الذكاء الاصطناعي Apache Beam Unified Batch And Stream مجانية؟

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

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

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

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

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

عرض الكل

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

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