snctl
, pulsarctl
, pulsar-admin
, REST API
, and Terraform
.
If you want to update or delete functions using
snctl
, pulsarctl
or pulsar-admin
, make sure you have set up your client tool. For more information, see set up client tools.Update a function
When you want to modify configurations or update resources for functions, you can update functions using multiple tools. The following example shows how to update the parallelism of the Java exclamation functionexclamation
to 2
using different tools.
Delete a function
The following example shows how to delete the Java exclamation functionexclamation
using different tools.
To delete the function You should see the following output:If you want to verify whether the function has been deleted successfully, run the following command.You should see the following output:
exclamation
, use the following command.What’s next?
- Learn how to monitor functions.
- Reference common configurations.