Azure-Samples / event-hubs-dotnet-import-from-sql

Simple cloud app that pulls incremental records from a SQL Azure table and pushes to event hub
MIT License
31 stars 29 forks source link

No message appear in the event hub #2

Open Theovanlaar opened 8 years ago

Theovanlaar commented 8 years ago

Hi Spyros Thank you for the sample. Within the local environment the code runs fine, database is well connected, I can check the data in the database. When I publish the application in Azure I don´t see any messages appear in the eventhub. I checked the servicebus connectionstring several times, it looks ok. I tried to debug but unfortunately this was unsuccessful. Hope you can give me some tips.

Thanks Theo

dinarisio commented 8 years ago

Hello @Theovanlaar, You could try to send messages to the EventHub locally and see if it is working. Also, you could monitor for exceptions here at line 101: https://github.com/Azure-Samples/event-hubs-dotnet-import-from-sql/blob/master/SqlToEventHub/Program.cs#L101

Theovanlaar commented 8 years ago

Thanks Dinar for your reply.

Looks like it’s working on Azure. I see messages and requests on the dashboard. I tried to dive into the requests with a c# tool (Service Bus Explorer 3.0.4) but I couldn’t see the request itself. For a queue it’s less difficult. Maybe you have another suggestion for me?

Thanks again and best regards

Theo van Laar

Van: Dinar Gainitdinov [mailto:notifications@github.com] Verzonden: woensdag 22 juni 2016 10:44 Aan: Azure-Samples/event-hubs-dotnet-import-from-sql event-hubs-dotnet-import-from-sql@noreply.github.com CC: Theovanlaar Theo.van.Laar@Garlandinterim.nl; Mention mention@noreply.github.com Onderwerp: Re: [Azure-Samples/event-hubs-dotnet-import-from-sql] No message appear in the event hub (#2)

Hello @Theovanlaar https://github.com/Theovanlaar , You could try to send messages to the EventHub locally and see if it is working. Also, you could monitor for exceptions here at line 101: https://github.com/Azure-Samples/event-hubs-dotnet-import-from-sql/blob/master/SqlToEventHub/Program.cs#L101

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure-Samples/event-hubs-dotnet-import-from-sql/issues/2#issuecomment-227680490 , or mute the thread https://github.com/notifications/unsubscribe/AKDjmtlzs39k6Y9NaNQf_bBq8zSFM8Rfks5qOPXfgaJpZM4I1XOw . https://github.com/notifications/beacon/AKDjmmrCwZCLVEbwNSHwAGvjDurMJjnMks5qOPXfgaJpZM4I1XOw.gif