MAK
MAK

Reputation: 1288

IoT hub event ingestion and data storage

I'm using an Azure stream Analytics job to process the data from an IoT hub. So my data comes from my simulated device to an IoT hub and I have configured the hub as an input to the stream analytics job and a blob storage as an output job.

My question is if I stop the stream analytics job and restart it, do I lose the data between stop and start? Or is the data stored on the IoT hub and when I restart the job and select the start time as from when it stopped, I'll get all the data.

Upvotes: 1

Views: 156

Answers (2)

Michael Xu
Michael Xu

Reputation: 4432

As krishmam said, you can choose the outputStartMode when starting a job. Specifies if the job should start producing output at a given timestamp or at the point when the job starts. enter image description here

Upvotes: 1

krishmam
krishmam

Reputation: 1

You won't lose any data. Stream Analytics gives you an option to start a job from the previous stop time when you start the job.

Upvotes: 0

Related Questions