azure-functions-extension
azure-functions-extension copied to clipboard
Java library for bindings doesn't exist
Java uses an attribute model similar to .NET, but the library is created here: https://github.com/azure/azure-functions-java-library
There isn't a great way using that library to do a flexible custom trigger / binding. It's very limited today. This is the closest I can get:
@CustomBinding(name = "triggerData", direction = "in", type = "daprBindingTrigger") byte[] triggerData,
final ExecutionContext context) throws UnsupportedEncodingException {
context.getLogger().info("Java HTTP trigger processed a request.");
But it doesn't let me define other function.json
properties I need like BindingName
- so fully blocked for now
Thanks @jeffhollan for pointing this out. I might need Connor's help to fully understand/fix the issue.