What problem does it solve?
It solves the challenge of designing and implementing reliable, event-driven Kafka integrations in Nav-style Kotlin services, including topic setup, event schema design, and safe consumer/producer patterns.
Core Features & Use Cases
- Nais Kafka setup for applications: Configure Kafka connectivity through Nais manifest
spec.kafka so credentials and environment variables are mounted automatically.
- Rapids & Rivers consumer (River) patterns: Build River listeners with preconditions for event type filtering, validations for schema correctness, and clean error handling.
- Event schema design and governance: Define event naming conventions, include required metadata (event name, id, created_at, produced_by, optional correlation id), and apply versioning strategies.
- Testing and troubleshooting for event systems: Validate behavior with TestRapid and diagnose issues like connectivity, consumer lag, and contract violations.
Quick Start
Use the kafka skill to set up Rapids & Rivers rivers in a Nais Kotlin service and generate/validate Kafka events using the required event metadata and schema rules.