Integrations¶
Snodra connects to the tools you already run. These pages cover the common edges; the reference pages carry the exact settings.
| Integration | What it gives you | Page |
|---|---|---|
| Spring Boot | A starter that is native to Boot: auto-configuration, annotations, Actuator | Spring Boot |
| OAuth2 provider | Client-credentials authentication with short-lived JWTs; Keycloak, Entra ID, Okta, Auth0, Authentik and Dex | OAuth2 provider |
| OpenTelemetry | OTLP metrics and traces from the server and the libraries | OpenTelemetry |
| Docker Compose and Kubernetes | The image, ports, probes and graceful shutdown | Containers |
| An existing service | Speak snodra.hub.v1 directly, without a Snodra library |
Existing services |
The common shape¶
Every service, whatever its language, does the same four things:
- Opens one bidirectional
Hub.Connectstream per instance. - Sends
Registerwith its service name, instance id and the command and query types it handles. - Answers
Requestmessages for those types and sendsReply. - Sends and receives events through an event store and a message store, or only the hub client if it has no events.
The libraries package that shape. An existing service can implement it directly; see Existing services.