Functions

f
buildMicroservicePlugins(options?: MicroserviceStarterOptions): IPlugin[]

Builds the canonical microservice plugin set. Composes from buildRestPlugins and appends the four microservice-specific plugins (messaging, queue, resilience, telemetry). The list is exported so full-stack can compose from it.

f
createMicroserviceApp(options?: MicroserviceStarterOptions): IKernelApplication

Creates a fully wired microservice application. The factory registers the curated microservice plugin set (REST + messaging, queue, resilience, telemetry), adds the error-handler middleware at priority 0 (outermost per exceptions contract), and returns the un-started application.

Interfaces

I
MicroserviceStarterOptions

Options for createMicroserviceApp. Extends RestStarterOptions with microservice-specific arms. Omitted plugins use their defaults.

I
RealtimeArm

The real-time arm: one option grouping the three plugins that together make a connection-oriented application work, each added only when its sub-arm is present.

Usage

import * as Microservice_starter_bundle___REST_starter_plus_messaging__queue__telemetry__and_resilience___Provides_a_single_factory___linkcode_createMicroserviceApp__that_returns_a_fully_wired___linkcode_IKernelApplication__with_the_curated_microservice_plugin_set_and_error_handling_middleware__Also_exposes_the_option_type___linkcode_MicroserviceStarterOptions__and_the_plugin_builder___linkcode_buildMicroservicePlugins__for_advanced_composition__ from "starters/microservice-starter/src/index.ts";