kafka-topic-setup

Community

Provision Kafka topics for the hook pipeline

AuthorheyAyushh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures the required Kafka topics for the hook event pipeline are created and configured explicitly so services do not fail due to missing topics, incorrect partitions, or improper retention settings when auto-creation is disabled.

Core Features & Use Cases

  • Create standard topic set: Creates per-source ingress topics (webhooks.<source>), the normalized core topic (webhooks.core), and the dead-letter queue (webhooks.dlq).
  • Configurable defaults: Supports environment-variable driven customization for bootstrap address, source list, partitions, replication factor, and retention windows.
  • Validation and verification: Lists and describes topics to verify partitioning and replication, and includes guidance for multi-broker replication and min.insync.replicas adjustments.
  • Use Case: Run during initial environment provisioning, after Kafka cluster provisioning, or when recreating topics after correcting configuration mistakes.

Quick Start

Run the scripts/create-hook-topics.sh script on a host that can reach your Kafka broker to create the webhooks.core, webhooks.dlq, and per-source webhooks.<source> topics with default settings.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: kafka-topic-setup
Download link: https://github.com/heyAyushh/hook/archive/main.zip#kafka-topic-setup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.