jerrypeng commented on a change in pull request #9413:
URL: https://github.com/apache/pulsar/pull/9413#discussion_r570460456
##########
File path:
pulsar-functions/utils/src/main/java/org/apache/pulsar/functions/utils/FunctionCommon.java
##########
@@ -383,4 +377,112 @@ public static double roundDecimal(double value, int
places) {
double scale = Math.pow(10, places);
return Math.round(value * scale) / scale;
}
+
+ public static ClassLoader getClassLoaderFromPackage(
+
org.apache.pulsar.functions.proto.Function.FunctionDetails.ComponentType
componentType,
+ String className,
+ File packageFile,
+ String narExtractionDirectory) {
+ String connectorClassName = className;
+ ClassLoader classLoader;
Review comment:
sure
----------------------------------------------------------------
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:
[email protected]