Skip to main content
Version: Next

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:

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.