Debezium And Kafka Connect Cdcのロゴ

Debezium And Kafka Connect Cdc

コミュニティ
vaquarkhan
debezium-and-kafka-connect-cdc

DebeziumとKafka Connectを使ったCDCワークフローをAIエージェントに案内します。データベースの変更をKafkaトピックにストリーミングするとき、コネクタの管理、スナップショット、スキーマの進化、下流のCDC利用者への対応を行うときに使用します。

Add to TypingMind

概要

公開者vaquarkhan
リポジトリdata-engineering-agent-skills
スキル名debezium-and-kafka-connect-cdc
スター
60
フォーク
8
同梱ファイル
5
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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/debezium-and-kafka-connect-cdc .claude/skills/debezium-and-kafka-connect-cdc
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にDebezium And Kafka Connect Cdcを読み込みます。

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Debezium And Kafka Connect CDC

Overview

Use this skill when database changes must be captured and delivered through Debezium and Kafka Connect. It helps agents define connector safety, snapshot behavior, schema handling, and downstream CDC contracts.

When to Use

  • setting up Debezium connectors for PostgreSQL, MySQL, MongoDB, SQL Server, or Oracle
  • designing Kafka-based CDC from transactional databases
  • handling initial snapshots, incremental streaming, and connector recovery
  • feeding downstream stream processors, lakehouse sinks, or search indexes
  • managing schema evolution when source tables change

Do not use this when changes can be captured through application-level events or batch extracts are sufficient for freshness requirements.

Workflow

  1. Define source tables, keys, and change event semantics. Include:

    • which tables to capture and which to exclude
    • primary key and unique key strategy for each table
    • expected change operations: inserts, updates, deletes, truncates
    • whether tombstone records are needed for compacted topics
    • expected change volume and peak throughput
  2. Plan snapshot behavior explicitly.

    • initial snapshot: full table scan on first connector start
    • define snapshot mode: initial, schema_only, never, or when_needed
    • understand lock behavior during snapshot (especially for PostgreSQL and MySQL)
    • plan for snapshot duration on large tables — can take hours
    • document what happens if a snapshot is interrupted
  3. Configure connector for operational resilience.

    • set appropriate max.batch.size and poll.interval.ms
    • configure heartbeat intervals to prevent WAL/binlog retention issues
    • define slot or binlog retention policies on the source database
    • plan for connector task failures and automatic restarts
    • monitor connector lag and offset position
  4. Define topic contracts and downstream expectations.

    • topic naming convention: {prefix}.{schema}.{table}
    • event envelope format: include before/after, operation type, source metadata
    • schema registry integration for event contracts
    • retention and compaction policy per topic
    • document which consumers depend on each topic
  5. Handle schema evolution safely.

    • source DDL changes (column adds, renames, type changes) propagate through CDC
    • define compatibility policy in schema registry (backward, forward, full)
    • test that downstream consumers handle schema changes without failure
    • plan for breaking changes: connector restart, re-snapshot, or topic migration
  6. Plan recovery, replay, and operational safety.

    • define what happens when the connector falls too far behind (slot overflow, binlog expiry)
    • document re-snapshot procedure for recovery
    • plan for database failover: does the connector reconnect automatically?
    • define monitoring alerts: lag, errors, rebalances, and dead-letter routing

Common Rationalizations

RationalizationReality
"CDC is just a connector — set it and forget it."Connectors require active monitoring, offset management, and schema evolution handling. Neglected connectors silently lose data.
"We don't need to worry about snapshots after the first one."Database failovers, slot loss, and connector resets can trigger re-snapshots. The team must plan for snapshot impact on source load.
"Schema changes in the source don't affect CDC."Every DDL change propagates through the CDC stream. Without compatibility policies, downstream consumers break silently.
"Kafka handles deduplication for us."Debezium provides at-least-once delivery. Consumers must handle duplicates or use idempotent processing patterns.

Red Flags

  • no monitoring of connector lag or WAL/binlog retention
  • snapshot mode is undefined or set to always without understanding impact
  • no schema registry integration for CDC topics
  • downstream consumers assume exactly-once delivery without deduplication logic
  • heartbeat intervals are not configured, risking WAL bloat on the source
  • no documented recovery procedure for slot loss or binlog expiry
  • topic retention is unlimited with no compaction policy
  • connector runs with a single task on high-volume multi-table sources

Verification

  • Source tables, keys, and change semantics are explicitly documented
  • Snapshot behavior and impact on source database are understood and planned
  • Topic contracts include naming, envelope format, retention, and schema compatibility
  • Schema evolution paths are tested for both additive and breaking changes
  • Connector monitoring covers lag, errors, rebalances, and offset position
  • Recovery procedures for slot loss, binlog expiry, and database failover are documented
  • Downstream consumers handle at-least-once delivery with deduplication or idempotency

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Debezium And Kafka Connect Cdc」では何ができますか?

DebeziumとKafka Connectを使ったCDCワークフローをAIエージェントに案内します。データベースの変更をKafkaトピックにストリーミングするとき、コネクタの管理、スナップショット、スキーマの進化、下流のCDC利用者への対応を行うときに使用します。

TypingMindでDebezium And Kafka Connect Cdcを使うメリットは何ですか?

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

TypingMindにDebezium And Kafka Connect Cdcをインストールするにはどうすればよいですか?

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

Debezium And Kafka Connect Cdcを使えるAIモデルはどれですか?

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

Debezium And Kafka Connect Cdcで使えるAIモデルの数に制限はありますか?

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

AIスキル「Debezium And Kafka Connect Cdc」は無料ですか?

はい。vaquarkhanがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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