Skip to content

Service layer ​

The Service layer is Pulsar's audience-scoped delivery and orchestration layer. Its concepts keep inbound adapters thin and workflows explicit.

Concepts ​

ConceptRole
ServiceAudience boundary.
ModuleFeature slice.
ControllerHTTP inbound adapter.
RequestHTTP validation and authorization.
ResourceReusable HTTP field shaping.
UseCaseApplication workflow.
OperationReusable workflow fragment.
JobQueued inbound adapter.
CommandCLI or scheduler inbound adapter.

Shared rule ​

Read the inbound-adapter rule before choosing an entrypoint.