Skip to content
SENS Platform Docs

ADR-0004: Internal Broker

Accepted.

MQTT ingestion should not directly couple Network Server message receipt to full telemetry processing.

The platform needs buffering, retry, monitoring, and failure isolation.

Use NATS JetStream as the V1 internal durable stream between MQTT ingestion and telemetry processing.

The mqtt-ingestion-worker publishes accepted raw ingestion events to NATS JetStream. The telemetry-worker consumes those events asynchronously.

Well-known queue broker with strong routing and work queue capabilities.

Powerful event streaming system but operationally heavier than needed for V1.

Simpler but increases risk of message loss and tight coupling.

No separate consequence list is maintained for this ADR.