You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 withcardinality: 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).
The text was updated successfully, but these errors were encountered: