简体   繁体   中英

Non-Azure input/source options for Steam Analytics

Does Steam Analytics support input sources other than products in the Azure family?

For example, can I setup a REST endpoint and send events this way? Are there client libraries for node.js?

Documentation is somewhat scant in this regard; I wanted to check here before assuming no on both fronts.

I believe the answer is no Azure Stream Analytics does not currently support non Azure sources.

One recommended approach is to write to Azure Event Hub then let Azure Stream Analytics read from there.

You could write to an event hub in Node.JS: http://hypernephelist.com/2014/09/16/sending-data-to-azure-event-hubs-from-nodejs.html

Revise for my old answer.

As @PanagiotisKanavos said, Azure Stream Analytics (ASA) is just the processing service engine, not the ingestion endpoint, that doesn't need to have a non-azure input source as EventHub do and that how to feed ASA with data to it.

EventHub can be used by ASA, has a variety of libraries that work on tons of different machines, form factors etc, and can run on any OS and many frameworks. Worst case, simple HTTP works as well, AMQP is not mandatory but definitely ideal in terms of performance.

The correct route is PRODUCER -> EventHub -> ASA or PRODUCER -> STORAGE -> ASA . So if there is a library that supports storage on the device that they want, it can work as well, but EventHub is obviously a better choice.

Thanks a lot for @PanagiotisKanavos help.

Some circumstantial evidence below seems to prove that Azure not suppport non Azure Service as input for Stream Analytics.

  1. From the REST API Create Input of Stream Analytics https://msdn.microsoft.com/en-us/library/azure/dn835010.aspx , there are only three data sources that include Event Hub , Blob Storgae & IoT Hub .

  2. Screenshots from Azure old & new portal for add input.

Fig 1. The input options on Azure old portal (Step 1) 在此处输入图片说明

Fig 2. The options for Data stream (Step 2) 在此处输入图片说明

Fig 3. The option for Reference data (Step 2) 在此处输入图片说明

Fig 4. The input options on Azure new portal 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM