|
Hi, is there a reason that we should create an EventHub? Can I not use the one I've already created via Azure? As it stands, I'm getting an error from the CreateEventHub() method: The remote server returned an error: (401) Unauthorized. Authorization failed for specified action: Manage. TrackingId:9999 d1a7-1bff-4bc2- 94f9-34cec47c46 94_G47,TimeStam p:2/19/2016 2:42:32 AM I'm re-using my existing eventHubs and storage keys. Any ideas? Thanks
Hi, in ProcessEventsAsync function of DemoEventProces sor.cs, why do you use Interlocked.Inc rement(ref this.totalMessa ges); and lock (this), I don't think it is necessary to lock here as these variables are not shared with others. Do you agree?
Is there any reason why this sample cannot be run without the DemoEventProcessFactory and used RegisterEventPr ocessorAsync() instead? Thanks, Rajiv.
Hi, I am not sure how to handle this. The example shows it being logged, and a comment that we could restart the host (presumably by unregistering and re-registering the factory)... but this doesn't seem like such a simple suggestion... There is no guidance on the scenarios in which we should restart the host and which we shouldn't. Some exceptions seem perfectly normal (i.e. when partitions are balancing across multiple hosts of the same consumer group). Others I have no idea if I should take some action on... An example on this would be great.
I'm a little confused what I should be putting in the storage account config setting if I don't have local storage tool. Do you have some more details on on to get what we need for this sample if we create a storage item on Azure portal itself?
Sorry for the late response... if you create a storage via azure portal, you will get a connection string over there. Just copy and past, it should work.