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:
- Run a standalone cluster locally on your own machine.
- Run a Pulsar cluster on Kubernetes, Amazon Web Services, bare metal, and so on.
note
If you want to deploy user-defined functions in Python, you need to install the python client on all the machines running function workers.