Pulsar

CQRS library for golang centered around minimalism in regards to dependencies.

Active Pure Nim score 65/100 · last commit 2026-11-06 · 1 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 1
Forks 0
Open Issues 0
Last Commit 2026-11-06
Downloads 0
Last Indexed 2026-11-23 09:07

Installation

nimble install Pulsar
choosenim install Pulsar
git clone https://gitlab.com/zitronic/pulsar

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
Pulsar ✓ ✓ ✓ - - - - - - -

Source

Repository https://gitlab.com/zitronic/pulsar
Homepage https://gitlab.com/zitronic/pulsar
Registry Source gitlab

README

Pulsar CQRS

Pulsar is a Go library for building CQRS applications. It provides contracts and runtime configuration for command handling, aggregate event storage, event dispatch, and saga processing.

Table of Contents

Overview

Pulsar supplies the core abstractions and PostgreSQL store implementations. Applications provide domain types and infrastructure-specific components, such as event-bus adapters and external service integrations.

The typical workflow is to define commands and event payloads, handle commands in aggregates, register groups and handlers, then build and start a configuration. The guides walk through each part.

Installation

Pulsar requires Go 1.25 or later.

go get gitlab.com/zitronic/pulsar

Documentation

Guide Description
Commands and Events Define commands and event payloads, then register event types.
Aggregates Initialize aggregate state, handle commands, and apply events.
Account Events Model and register the bank-account event payloads used in examples.
Event Handlers Implement typed event handling and register a handler with a group.
Event Buses Adapt a broker to the event-bus contract; includes RabbitMQ, NATS, and Kafka patterns.
Configuration Wire groups, stores, logging, metrics, and runtime lifecycle.
Testing Test aggregate command handling with the in-memory fixture.

License

Pulsar is licensed under the BSD 3-Clause License.