wolfstudy commented on issue #5465: [Pulsar Functions] User class constructor throws exception URL: https://github.com/apache/pulsar/issues/5465#issuecomment-568686393 @sijie The `/tmp` file path is configurable in `functions-worker.yml`, as follows: ``` downloadDirectory: /tmp/pulsar_functions ``` ``` File pkgDir = new File(workerConfig.getDownloadDirectory(), getDownloadPackagePath(functionMetaData, instanceId)); pkgDir.mkdirs(); File pkgFile = new File( pkgDir, new File(getDownloadFileName(functionMetaData.getFunctionDetails(), functionMetaData.getPackageLocation())).getName()); downloadFile(pkgFile, isPkgUrlProvided, functionMetaData, instanceId); packageFile = pkgFile.getAbsolutePath(); ``` so this is a correct logic, will close issue.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services