Skip to content
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

Unable to invoke non-HTTP triggered functions with cardinality: many using admin API #8878

Open
v-shenoy opened this issue Oct 31, 2022 · 0 comments

Comments

@v-shenoy
Copy link
Member

v-shenoy commented Oct 31, 2022

What language does your question apply to? (e.g. C#, JavaScript, Java, All)

All

Question

As per our docs, there is a way for customers to test their functions locally using core tools and the admin API.

We received an issue related to this from a customer using a Python Event Hubs function regarding lack of clarity on the schema expected for the request body. They were able to get it to work when the function was set to cardinality: one, but not with cardinality: many.

I tried testing both the Kafka and Event Hub extensions with cardinality: many, but I was also unable to get it to work, even after some help from the Python-worker team (cc: @gavin-aguiar). I was unable to get it to work in other languages (Node, C#).

I am still unsure if there is way to do this using the admin APIs, or this is unsupported. If it is supported, an improvement in the docs would be helpful.

Additional context

There are existing issues about this on the Python-worker repo as well.
Azure/azure-functions-python-worker#764
Azure/azure-functions-python-worker#773

(cc: @alrod as this was discussed with him before).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant