Update functions-overview.md
In the current version, the interface 'org.apache.pulsar.functions.api.Context' does not have method 'getName()'.
On the contrary, the interface has the method 'getFunctionName()'.
So i change 'context.getName()' to 'context.getFunctionName()'.
@@ -239,7 +239,7 @@ public class ContextAwareFunction implements Function<String, Void> {
Logger LOG = context.getLogger();
String functionTenant = context.getTenant();
String functionNamespace = context.getNamespace();
- String functionName = context.getName();
+ String functionName = context.getFunctionName();
LOG.info("Function tenant/namespace/name: {}/{}/{}", functionTenant, functionNamespace, functionName);
return null;
}
