🚨 AtomicJar is now part of Docker 🐋! Read the blog

Description

NATS is an open-source messaging system that enables applications to securely communicate across any combination of cloud vendors, on-premise, edge, web and mobile, and devices.

Examples

Dependency:
go get github.com/testcontainers/testcontainers-go/modules/nats
Usage:
natsContainer, err := nats.Run(ctx, "nats:2.9")
Dependency:
npm install @testcontainers/nats --save-dev
Usage:
const container = await new NatsContainer().start();
Dependency:
pip install testcontainers[nats]
Usage:
with NatsContainer() as nats_container:
    client = await nats.connect(nats_container.nats_uri())