You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/07/16 16:53:26 UTC
[GitHub] srkukarni commented on a change in pull request #2105: Attach
function metadata properties to pulsar source/sink
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:
users@infra.apache.org
With regards,
Apache Git Services