@scramjet/adapter-process
v2.1.0
Published
This package is part of Scramjet Transform Hub. This module holds the process adapters utilized by Scramjet Transform Hub
Readme
@scramjet/adapter-process
Process adapter for Transform Hub. Runs Sequences as child processes on the host machine using Node.js, Bun, or Python runners.
When to use
The process adapter is the default adapter for Transform Hub. It is suitable for development, testing, and production deployments where each Sequence runs as a dedicated OS process on the same machine as the Hub. No Docker or Kubernetes infrastructure is required.
The adapter is selected via the --runtime-adapter process flag or the adapters configuration. It provides:
- ProcessSequenceAdapter — manages sequence storage and retrieval
- ProcessInstanceAdapter — manages instance lifecycle as child processes
Configuration
The process adapter is configured through STH configuration and does not require additional setup beyond ensuring the runtimes (Node.js, Bun, Python) are available on the host.
scramjet-transform-hub --runtime-adapter processStability
This package is stable. The process adapter is the default and most-tested adapter.
See also
- Process adapter deployment for detailed setup and configuration.
- Docker adapter for container-based deployment.
- Kubernetes adapter for Kubernetes-based deployment.
- Transform Hub configuration for adapter configuration options.
Install
npm install @scramjet/adapter-processImport
import { /* ... */ } from "@scramjet/adapter-process";Documentation
See the package docs for full documentation.
