Activity
Tl;dr
go-nuts is a lightweight toolkit built on top of nats.go that simplifies building NATS and JetStream services in Go. The root package handles connection lifecycle — connecting with sensible resilience defaults, gracefully draining, and shutting down cleanly — while optional subpackages add JetStream consumer scaffolding, message publishing helpers, distributed tracing support, and sophisticated retry and dead-letter handling.
This is a focused, dependency-light library aimed at Go services that need to reliably interact with NATS brokers. The codebase emphasizes correctness over convenience: it splits responsibilities carefully (the server owns redelivery scheduling via BackOff ladders, the client owns disposition logic), validates complex configurations statically, and validates JetStream semantics against an embedded broker in tests to catch behavioral assumptions early.
