srkukarni commented on a change in pull request #2105: Attach function metadata
properties to pulsar source/sink
URL: https://github.com/apache/incubator-pulsar/pull/2105#discussion_r202754104
##########
File path:
pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/source/PulsarSource.java
##########
@@ -194,4 +207,12 @@ void setupSerDe() throws ClassNotFoundException {
}
}
}
+
+ public static String getFunctionNameString(FunctionDetails fd) {
+ if (fd == null) {
+ return "";
+ }
+
+ return String.format("%s/%s/%s", fd.getTenant(), fd.getNamespace(),
fd.getName());
Review comment:
I beleive there is already a utility function to get the fqn
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services