提交 e30bbd73 编写于 作者: J Jennifer Huang 提交者: xiaolong.ran

[docs] Add thread/process modes in Configure Functions runtime (#4828)

* add thread/process modes

* update the differences between thread and process modes

* update

* update

(cherry picked from commit 8c163eb2)
上级 4094d451
......@@ -10,6 +10,10 @@ Currently, Pulsar Functions support the following three methods to run functions
- *Process*: Invoke functions in processes forked by Functions Worker.
- *Kubernetes*: Submit functions as Kubernetes StatefulSets by Functions Worker.
The differences of the thread and process modes are:
- Thread mode: when a function runs in thread mode, it runs on the same Java virtual machine (JVM) with Functions worker.
- Process mode: when a function runs in process mode, it runs on the same machine that Functions worker runs.
## Configure thread runtime
*Thread* runtime is easy to configure. In most cases, you don't need to configure anything. You can customize the thread group name with the following settings:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册