-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java outputs has null exception #118
Comments
@wrongerror user need to add annotation manually? https://openfunction.dev/docs/concepts/baas_integration/ |
Add these annotations to the Function.
|
All samples should work under both |
I has try this and can work well. But another question is I has try go with-binding demo, it's can work well not need this annotation, demo link is https://github.com/OpenFunction/samples/tree/main/functions/knative/with-output-binding.
For java, just sidecar mode is well, but go two mode are well, whether is because openfunction has not complete this for java? |
It's a bug, the proxy mode should work for Java as well. @wanjunlei has fix that. |
@wanjunlei has fixed this you can delete the old builder @gongxh13 https://github.com/OpenFunction/samples/blob/main/functions/knative/java/with-output-binding/function-front.yaml#L18 and download the new one. |
When I deploy java demo according this link https://github.com/OpenFunction/samples/tree/main/functions/knative/java/with-output-binding, after deploy, I access function, but has exception as:
From above, it may be not init dapr client for java sdk.
The text was updated successfully, but these errors were encountered: