A drop-in event store debugger
A drop-in event store debugger
Eventlens is a read only dashboard and debugging tool designed for event sourced systems utilizing PostgreSQL and Kafka. Its primary function is to provide a centralized interface for monitoring and inspecting event stores without modifying the underlying data. The tool operates by connecting to a PostgreSQL database and optionally a Kafka topic to provide real time visibility into event streams. It is designed to be a drop in utility that assists developers in auditing and troubleshooting event driven architectures. The application offers several core capabilities including event visualization, replay reducers, and anomaly detection. Users can define custom rules within a YAML configuration file to identify specific patterns or inconsistencies within their event data. Eventlens requires a specific schema for event tables, though it can accommodate existing data structures through the use of database views. When integrated with Kafka, the tool supports live updates, allowing users to observe events as they are published to the system. Typical workflows involve deploying Eventlens alongside existing services using Docker Compose. Once configured with the necessary database credentials and Kafka connection details, the tool provides a web based user interface for exploring event history and state. It is commonly used during the development and maintenance phases of a project to verify that events are being recorded correctly and to debug complex state transitions. Technical requirements for Eventlens include a PostgreSQL instance and a YAML configuration file to define data mappings and rules. The tool is built to be non intrusive, ensuring that it never mutates or deletes data from the source systems. It supports flexible configuration locations and can be adapted to various domain models by updating the replay reducers and anomaly rules as the system evolves.