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.
Before deploying a function, you need to have a Pulsar cluster running first. You have the following options: