Hey,
I've got a problem with an Azure Stream Analytics (ASA) job that should call an Azure ML Service function to score the provided input data.
The query was developed und tested in Visual Studio (VS) 2019 with the "Azure Data Lake and Stream Analytics Tools" Extension.
As input the job uses an Azure IoT-Hub and as output the VS local output for testing purposes (and later even with Blobstorage).
Within this environment everything works fine, the call to the ML Service function is successfull and it returns the desired response.
Using the same query, user-defined functions and aggregates like in VS in the cloud job, no output events are generated (with neither Blobstorage nor Power BI as output).
In the ML Webservice it can be seen, that ASA successfully calls the function, but somehow does not return any response data.
Deleting the ML function call from the query results in a successfull run of the job with output events.
For the deployment of the ML Webservice I tried the following (working for VS, no output in cloud):
- ACI (1 CPU, 1 GB RAM)
- AKS dev/test (Standard_B2s VM)
- AKS production (Standard_D3_v2 VM)
The inference script function schema:
- input: array
- output: record
The ASA job subquery with ML function call:
"Sequence" is a subquery that aggregates the data into sequences (arrays) with an user-defined aggragate.
I hope the provided information is sufficient and you can help me.