cap-nodejs

ADR 0003: Keep Storage and Transport Pluggable

Status

Accepted

Context

Reliable messaging needs differ by deployment. Some applications need relational storage, some may need different databases, and transport choices vary by cloud or broker.

Decision

CAP keeps storage and transport behind small contracts and registers concrete implementations through Nest modules. The core package provides orchestration, scanner behavior, scheduler behavior, and an in-memory mode, but production storage and transport live in adapter packages.

Consequences