NATS Production Demo
Services framework, monitoring, and architectural patterns
orders-service
v1.2.0
Requests: 0
Errors: 0
Avg: 0ms
create, get, cancel
payments-service
v2.0.1
Requests: 0
Errors: 0
Avg: 0ms
charge, refund
shipping-service
v1.0.0
Requests: 0
Errors: 0
Avg: 0ms
create, track
Service Discovery
Services register automatically. Clients discover via $SRV subjects.
Call Service
3
Connections
0
Messages In
0
Messages Out
2
Streams
5
Consumers
0
Stream Messages
0
Pending Acks
0s
Uptime
Monitoring Endpoints
NATS exposes HTTP endpoints for monitoring. Scrape with Prometheus.
Generate Activity
Event Store (ORDERS stream)
No events yet. Create an order to start.
Current State (derived)
Order #-
No order selected
State is computed by replaying events from the stream.
Commands
Order Saga (Distributed Transaction)
Create Order
-->
Reserve Inventory
-->
Process Payment
-->
Ship Order
If any step fails, previous steps are compensated (rolled back).
TLS
Encryption
Enabled
AUTH
Authentication
JWT
ACCT
Accounts
3 Accounts
Account Permissions
| Account | User | Publish | Subscribe |
|---|---|---|---|
| ORDERS | order_service | orders.> | orders.>, _INBOX.> |
| PAYMENTS | payment_service | payments.> | payments.>, orders.created |
| ANALYTICS | analytics | none | orders.>, payments.> |
Test Permissions
Connection Test