Develop
StreamNative supports all features for the Java functions, please refer to: Develop Functions to learn how to develop a Java Function.Package
Please refer to: Pacakge Java 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 java Pulsar function by using a local JAR/NAR package 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.Upload packagesYou should see the following output:
Create
You need to package your Java function as a.jar
or .nar
file (and upload it to Pulsar) first.
What’s next?
- Learn how to develop Python functions.
- 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.