Help us shape the future of Go! Take the 2026 Go Developer Survey

embedded

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Command embedded shows packtrail running as a single microservice: the engine and the task workers live in one process, importing only the public github.com/henomis/packtrail package.

Run a NATS server (2.12+, JetStream enabled) and, from the repo root (the flow is loaded from examples/embedded/flows):

go run ./examples/embedded --nats nats://127.0.0.1:4222

It starts one execution of the research pipeline, prints progress, and dumps the assembled results when the flow settles. Workers are plain queue-group subscribers, so ./examples/worker can be run alongside (same --namespace) to load-balance the very same task subjects from a separate process.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL