Reputation: 1063
I am looking forward to build an endpoint capable of receiving JSON objects and saving them into ADLS. So far I have tried several different combinations using Functions, Event Hubs, and Stream Analytics. The problem is: no solution so far seems ideal.
TL;DR In my scenario, I have a few set of users that will send me JSON data through an API, and I need to save it inside ADLS, separated by user. What is the best way of doing so?
Could anyone shed me some light? Thanks in advance.
WARNING: LONG TEXT AHEAD
Let me explain my findings so far:
Functions
Advantages
Disadvantages
Event Hub
Advantages
Disadvantages
Functions + Event Hub
Using Event Hub with Functions mitigate Functions disadvantages, but have the same drawbacks (except auth) of Event Hub
Functions + Event Hub + Stream Analytics
Although I would be able to have a single event hub without capture, using Stream Analytics SQL as a filter to direct each user's data to its specific folder, it would be a limiting factor. I have tried it and it gets slower as the SQL gets bigger.
IoT Hub
IoT Hub has routing, but it is not as dynamic as I require.
Could anyone shed me some light? Thanks in advance.
Upvotes: 0
Views: 1311
Reputation: 16108
I don't quite see the disadvantages of using only Azure Functions to write data to ADLS.
Upvotes: 1