Expand description
Library surface for the OSS jammi-server binary.
The binary’s orchestration entry-point is runtime::OssServer.
The library also re-exports building blocks (build_router,
flight::*, grpc::*) so test fixtures and downstream binaries
(e.g. the jammi CLI’s serve subcommand) can compose the same
pieces without reimplementing them.
For downstream composition, runtime::assemble_grpc_chain returns an
runtime::AssembledChain with the engine’s services pre-mounted; a
downstream chains runtime::AssembledChain::mount to add its own services
beside the engine’s on one listener, then serves — or splits via
runtime::AssembledChain::into_axum_router to compose a single axum
listener of its own. serve_grpc_chain is the thin OSS-only path over the
same seam.
Modules§
- error
- flight
- Arrow Flight SQL server backed by a DataFusion
SessionContext. - grpc
- gRPC services exposed by
jammi-server. - grpc_
web_ trailers - gRPC-Web trailers-only repair layer.
- metrics_
layer - Whole-server metrics layer.
- routes
- runtime
OssServer— the single orchestration entry-point for the OSSjammi-serverbinary.- telemetry
- Tracing initialisation shared by every server entry-point.
- tenant_
resolver_ layer - The async tenant-binding tower layer — the SINGLE binder for every engine gRPC service.
- tiers
- Service tiers — the mechanism that lets one
jammi-serverbinary scale to many deployment shapes by mounting only the gRPC services a deployment needs.
Structs§
- Trigger
Handles - Trigger-stream handles attached to the gRPC server. The caller constructs these once per deployment (sharing one broker, publisher, subscriber, and topic catalog repo across every connection).
Functions§
- build_
health_ router - Build the full side-channel router exposing
/healthz,/readyz, and/metrics. The readiness probe and metrics registry are passed in asArcs so test fixtures can substitute stubs. - build_
router - Build the side-channel router with
/healthzonly — no readiness or metrics state attached. Callers that need the full surface construct the router throughruntime::OssServer.