Swagger for Kafka and event-driven APIs

EventScribe

Swagger-style documentation and testing for Kafka and event-driven APIs.

EventScribe automatically maps your Kafka consumers, WebSocket gateways, and other transport handlers to their topics, providing a Swagger-style UI to explore patterns, produce test events, and validate payloads against your schemas - all in a familiar interface.

Built for NestJS

Built for NestJS developers using Kafka and other event transports. Document, test, and debug your event handlers with full schema support.

Python support coming soon

See It In Action

Quick Demo

Why EventScribe?

Everything you need to document, test, and debug your event-driven APIs

Swagger-style Events UI

Interact with your event handlers through a familiar Swagger-like interface. Browse patterns, inspect schemas, and explore your event-driven ecosystem.

Real-time Consumer Tracking

Know exactly what happens when your handlers process events. Track whether each consumption was successful (Resolved) or encountered an error, displaying detailed error information in a friendly format right in the UI.

Load Testing Built-in

Stress-test your event handlers directly from the UI. Produce multiple events at once to simulate high-throughput scenarios and verify your consumers handle the load gracefully.

Message History Preview

Instantly view the most recent messages for each consumed Kafka topic. No need to dig through logs or external tools - see what's flowing through your handlers at a glance. Available for Kafka transport only.

Multi-Transport Support

Works with Kafka, WebSockets, and other event transports. One unified interface for all your event-driven APIs in NestJS.

One Module, One Decorator

Import a single module and document event handlers with the simple @ApiEvent() decorator. Minimal setup, maximum documentation power.

Bookmark Favorite Payloads

Save frequently used payloads as bookmarks for quick access. Perfect for complex events with large payloads - no need to re-enter test data every time you debug or test your handlers.

Schema Explorer

Browse all registered DTO schemas in an expandable view. See field names, types, constraints, and nested structures at a glance - no need to dig through source code.

Console Log Capture

Capture console.log, NestJS Logger, and other log output during event handler execution. Logs are scoped per request and displayed alongside the response in the UI.

Ready to Get Started?

Add EventScribe to your application in minutes

View Documentation