Skip to main content
Version: 最新版

Deploy Pulsar Functions

Pulsar provides two modes to deploy a function:

  • cluster mode (for production) - you can submit a function to a Pulsar cluster and the cluster will take charge of running the function.
  • localrun mode - you can determine where a function runs, for example, on your local machine.

Prerequisites

Before deploying a function, you need to have a Pulsar cluster running first. You have the following options:

:::注

If you want to deploy user-defined functions in Python, you need to install the python client on all the machines running function workers.

:::