I tried to take sample data from a running Azure Stream Analytics Job. The job is running successfully and the output is writing into cosmos DB successfully.
But when I tried to take sample data from the streaming input, Sampling is failed and I am getting below error.
Error code: BadArgument
Error message: There was an error while reading sample input. Please check if the input source is configured correctly and data is in correct format.
If it is because of data format, the job should have also failed?
I tried taking sample from another SA job which is using same event Hub but only the difference is, it is using different consumer group, for that I am able to fetch the sample data.
What could be the reason for this failure since the job is working successfully with that input? Is there anything that have to be corrected in consumer group?
Is there any workaround to get sample data from eventhub with some filtering?