Open abhirockzz opened 4 years ago
Hi! Thanks for reaching out.
I haven't been able to reproduce this error. I created a simple example that only calls eventhub.NewHubWithNamespaceNameAndEnvironment
and first did not set any environment variables and the error response returned was almost immediate. Then I set the vars you mentioned in your first scenario and the result was the same. I received the error response again almost immediately. Do you have code that could reproduce this problem so that I could test it out?
Expected Behavior
Behavior of
eventhub.NewHubWithNamespaceNameAndEnvironment
should have sane defaults when invalid arguments (event hubs namespace and/or event hub name etc.) are passed i.e. timeout/fail in a reasonable amount of timeOr, it should allow the caller to enforce timeout by allowing it pass in a
context.Context
Actual Behavior
I tried two scenarios:
In both cases, I got the below error, but the app was stuck for ~3.5 mins
Environment