feat(nats): expose embedded broker to managed workers
This commit is contained in:
1 parent
aaa9e85dd4
commit
9d73bc7157
16 files changed
+678
-178
No files matched your search
+4
-3
@@ -231,14 +231,14 @@ gate_max_failures = 5
|
||||
# NATS JetStream for task distribution and reaction delivery. mode selects
|
||||
# how NATS is provided:
|
||||
# "embedded" – in-process nats-server (the default; no external server)
|
||||
# "external" – connect to url (required for agent.mode="nats" / [containers])
|
||||
# "external" – connect to url
|
||||
# "off" – no NATS; the SQLite ClaimNext flow is used for tasks
|
||||
# Leave the section absent (or set no url) to run embedded; set mode="off"
|
||||
# only to opt out of NATS entirely.
|
||||
# [nats]
|
||||
# mode = "embedded" # "embedded" | "external" | "off"
|
||||
# url = "nats://localhost:4222" # required when mode = "external"
|
||||
# token_env = "NATS_TOKEN" # optional; named variable must be set
|
||||
# token_env = "NATS_TOKEN" # optional external-server credential; embedded generates one per start
|
||||
|
||||
# Unbound webhook capture: POST /webhooks/capture/{source} accepts and
|
||||
# stores any inbound payload archie doesn't yet have a binding for, so it can
|
||||
@@ -255,7 +255,8 @@ gate_max_failures = 5
|
||||
# rate_per_second = 1.0 # per-remote-address token bucket
|
||||
# rate_burst = 5
|
||||
|
||||
# Docker sandbox execution of archie-agent. Requires [nats] and agent.mode = "nats".
|
||||
# Docker sandbox execution of archie-agent. Requires NATS and agent.mode = "nats";
|
||||
# embedded and external broker modes are both supported.
|
||||
# [containers]
|
||||
# enabled = true
|
||||
# image = "archie-agent:latest" # Docker image to run
|
||||
|
||||
Reference in new issue
Block a user