How to read inputs from beginning?

Philipp Marinovic-Brünjes 0 Reputation points
2024-01-15T08:48:47.57+00:00

Hi there, currently I'm testing Stream Analytics for a streaming application and facing the issue that my job only reads data that is incoming after it has been started. Data that has been present before won't be processed. I tested this behaviour with Kafka and BLOB storage as input. Is there a way to change this behaviour (similar to Kafka's offset setting)?

Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
330 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 28,386 Reputation points MVP
    2024-01-15T18:02:00.8566667+00:00

    Hello @Philipp Marinovic-Brünjes , welcome to this moderated Azure community forum. If I start an existing ASA job, I get this dialog in the portal: User's image

    As you can see, I can start fresh by ingesting newly incoming messages or I can start right where I left when the message was stopped. This is seen with the IoT Hub as input but I expect this with other resources too. The Kafka input is in preview, I do not see any other behavior mentioned in the documented limitations.

    ---If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.