modify: example 插件配置补充 load_mode 说明(inline/external 混合共存)
This commit is contained in:
@@ -5,6 +5,11 @@ module = "plugins.example"
|
||||
factory = "create_workers"
|
||||
cleanup = "cleanup"
|
||||
count = 3
|
||||
# 运行模式(按插件粒度,两种模式可同时存在):
|
||||
# "inline"(默认)= 网关进程内加载
|
||||
# "external" = 独立进程运行(Docker/K8s 编排: uv run worker_serve --type example),
|
||||
# 经 Zenoh 注册路由,网关动态挂载
|
||||
load_mode = "inline"
|
||||
|
||||
[worker]
|
||||
name = "example"
|
||||
|
||||
Reference in New Issue
Block a user