-
Hi everyone, I'm working with Apache Pulsar Functions and I have a question regarding .jar file usage: Can multiple functions make use of the same .jar file that I uploaded? Specifically, what happens if I upload the same .jar file twice during the function registration process for two different functions? I'm interested in understanding if there's any impact on performance, redundancy, or any potential conflicts. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can have multiple functions in the same .jar file, but you would have to upload the file separately for each function. Pulsar Functions does have the package manager feature (PIP-50) which allows sharing the uploaded file, but that's doesn't cover creating, updating and running multiple functions together. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply! Just to clarify, am I understanding correctly that with the package manager, we can upload the .jar file only once, but we still need to deploy and run each function individually by making separate requests for each function deployment? |
Beta Was this translation helpful? Give feedback.
You can have multiple functions in the same .jar file, but you would have to upload the file separately for each function.
It would be a useful feature to be able to define and run multiple functions together, however that feature doesn't exist.
Pulsar Functions does have the package manager feature (PIP-50) which allows sharing the uploaded file, but that's doesn't cover creating, updating and running multiple functions together.