MarczakIO / azure4everyone-samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EventHubs Sample -- Receive

zeesyed opened this issue · comments

commented

Hi Marc
In your event hubs sample under the 02-ReceiveEvents and the portal does show in the graphs that there are message being received; but when querying the messages with the below query

SELECT
    *
INTO
    [OutputAlias]
FROM
    [eh01]

Where eh01 is my event hub name I see no results.
This is the error the portal throws:
No data was found for preview from 'eh01'. Make sure the input has recently received data and the correct format of those events has been selected.
I tried enabling capture ,still the same.
Screen Shot 2021-06-17 at 6 14 44 PM
Screen Shot 2021-06-17 at 6 16 23 PM
How can I preview the event data in portal to make sure events are actually being received?

Hello,

This isn't the issue with the code but something with your configuration on your end. Event hubs must receive data in the 'X' last minutes and you click refresh and it should appear. If it doesn't then there is an issue elsewhere.

Closing this as it's not a code related issue.

Feel free to ask question on YT comment section if you are having non-code related queries.

commented

Sounds good, thank you for the response.