Develop
StreamNative supports all features for the Python functions, please refer to: Develop Functions to learn how to develop a Python Function.Package
Please refer to: Pacakge Python FunctionsDeploy
After creating a cluster, set up your environment and develop&package your function, you can use thesnctl, pulsarctl, pulsar-admin command, the REST API, or terraform to deploy a Pulsar function to your cluster.
You can create a Python Pulsar function by using a local .py, .pip, or .zip file or an uploaded Pulsar functions package(recommend).
(Optional) Upload your function file to Pulsar
It’s recommend to upload your function file to Pulsar before you create a function. Since you can add a version suffix to the package.- snctl
- Pulsarctl
- Pulsar-admin
Upload packagesYou should see the following output:
Create
- snctl
- Pulsarctl
- Pulsar-admin
- Terraform
- REST API
What’s next?
- Learn how to develop Golang functions.
- Learn how to develop NodeJs functions.
- Learn how to develop WASM functions.
- Learn how to manage functions.
- Learn how to monitor functions.
- Reference common configurations.