orestisf
orestisf

Reputation: 353

How to process again events in Azure Event Hubs with Stream Analytics job?

I have set up an event hub which I store some events and an Azure Stream Analytics Job which processes them and outputs into a blob container. Given that the message retention in the hub is set to 5 days, how can I process these events again, i.e. to output them into a database?

Upvotes: 0

Views: 381

Answers (1)

orestisf
orestisf

Reputation: 353

OK, for a simple scenario you just have to set the job output start time to an earlier time, as in:

az stream-analytics job start
--resource-group MyResourceGroup
--name MyJobName
--output-start-mode CustomTime
--output-start-time 2020-12-04T08:30:00Z

Upvotes: 0

Related Questions