I am working with Pinot to deploy a UDF function, ...
# pinot-dev
h
I am working with Pinot to deploy a UDF function, which requires me spinning up an AWS Client to interface with another service. What would be the best approach for initializing the client such that when the UDF gets invoked, the client is already pre-initialized? Does Pinot offer any hooks to be implemented for UDFs for pre-initialization? How can I pass on the environment variables for initializing the clients used as a part of the UDFs?
x
Usually we develop it by copying a plugin module to reuse the maven plugins. For deployment, you can copy it to the plugin directory and let it loading during the runtime