abhirockzz / dapr-meetup

Content and resources for the talk "Tour of Dapr"
1 stars 0 forks source link

Issue creating binding for event hubs input #1

Open bd-g opened 4 years ago

bd-g commented 4 years ago

Hello abhirockzz - just trying to get my azure event hubs to work with dapr and can't figure out the problem. I am setting up a binding to my app using this yaml file

apiVersion: dapr.io/v1alpha1 kind: Component metadata: name: eventhubs-input spec: type: bindings.azure.eventhubs metadata:

with MYNAMESPACE, SECRET, and MYHUB filled in appropriately. The app will run, however, it does not seem to be ingesting events. I tried cloning your example and running it on my machine, and couldn't get that to ingest events from my eventHub either. Is there a piece of the metadata I'm missing or any hidden problems?

bd-g commented 4 years ago

I walked through Dapr's source code and Event Hubs source as well to see how an EventHubClient instance was created, but can't find the logging for this to find out why the connection is faulty.