
Kafka Pipeline Architect
Design production Kafka pipelines with verified performance and scale
What You Can Do
You can architect production-ready Kafka pipelines with schema validation, partition strategies, and lag management. Claude helps you identify bottlenecks, optimize throughput, and design fault-tolerant systems with concrete performance guarantees. You'll get architecture diagrams, configuration templates, and troubleshooting playbooks for real-world streaming challenges.
Features
Balance load across brokers based on key cardinality and throughput
Validate message format, handle schema evolution, prevent data corruption
Design metrics dashboards and alert thresholds for consumer lag
Design replication, exactly-once semantics, and crash recovery workflows
Identify bottlenecks in producers, brokers, and consumers with concrete tuning parameters
Calculate broker disk, memory, network requirements from message volume projections
Design cross-region replication, disaster recovery, and migration strategies
Example Output
Example 1: Partition Strategy Analysis
Topic: user-events
Current partitions: 4
Recommended partitions: 12
Rationale: Key cardinality ~2M users, target throughput 50K msgs/sec
Partition assignment: Round-robin on user_id hash
Expected rebalance time: 2.3s
Example 2: Consumer Lag Diagnosis
Consumer group: analytics-processor
Lag by partition:
- P0: 1.2M messages (12 mins behind)
- P1: 450K messages (4.5 mins behind)
- P2: 50K messages (30 secs behind)
Root cause: Consumer thread on P0 processing at 1.6K msgs/sec vs 2.1K msgs/sec ingest
Recommendation: Increase consumer parallelism or add 2 more consumer instances
Example 3: Schema Evolution Checklist
✓ New field: user_country (string, optional)
✓ Default value: 'UNKNOWN'
✓ Backward compatibility: Old producers can read new schema
✓ Forward compatibility: New consumers can read old messages
✓ Deployment order: Schema registry → consumers → producers
What's Included
- SKILL.md: Complete Kafka architecture framework with decision trees for partitioning, serialization, and failure recovery
- Pipeline design template: Configuration scaffold for producers, brokers, consumers with tuning parameters
- Partition strategy worksheet: Cardinality analysis, throughput estimation, and rebalancing guide
- Lag monitoring checklist: Metrics to track, alerting thresholds, and consumer health dashboard template
- Troubleshooting decision tree: Root cause analysis for common issues (slow consumers, broker saturation, rebalancing loops)
- Multi-cluster playbook: Cross-region setup, failover procedures, and testing strategies
- Performance tuning reference: All broker, producer, and consumer configs with impact analysis
Who It's For
- Data engineers architecting streaming data pipelines
- Platform engineers designing multi-tenant Kafka infrastructure
- DevOps engineers optimizing Kafka cluster performance
- Backend engineers troubleshooting production consumer lag
- Streaming architects designing disaster recovery and multi-region systems
Best For
- Designing partition and replication strategies for new pipelines
- Diagnosing and fixing consumer lag and throughput issues
- Planning capacity for projected message volumes
- Validating schema evolution and backward compatibility
- Migrating or rebalancing topics across clusters







