momo-jun commented on a change in pull request #14315:
URL: https://github.com/apache/pulsar/pull/14315#discussion_r808821073
##########
File path: site2/docs/functions-develop.md
##########
@@ -100,7 +103,47 @@ func main() {
}
```
For complete code, see
[here](https://github.com/apache/pulsar/blob/77cf09eafa4f1626a53a1fe2e65dd25f377c1127/pulsar-function-go/examples/inputFunc/inputFunc.go#L20-L36).
+<!--END_DOCUSAURUS_CODE_TABS-->
+
+### Extended Pulsar Function SDK for Java
+This extended Pulsar Function SDK provides two addition interface to
initialize and release external resources.
+By using initialize interface, you could do things like initialize external
resources which only need one-time initialization when function instance
starting.
+By using close interface, you could close the referenced external resources
when function instance closing.
Review comment:
```suggestion
- By using the `close` interface, you can close the referenced external
resources when the function instance closes.
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]