Open Yionse opened 4 months ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kasun04.
@Yionse for the first three issues, did you make sure to configure service principal correctly following the instructions in https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/README.md#use-the-event-hubs-namespace-and-azure-identity? It would be helpful to share what you see in the logs, especially from @azure/identity.
For the forth one, the fix is to delete AbortController
from the import statement because it is a global provided by NodeJS and the web API.
I'll take a look at the fifth one.
@deyaaeldeen thank you for your reply. For the first three issues. I'm sure I configured it according to the instructions in the document.
@Yionse thanks for confirming! Could you share the logs then so we can better diagnose the issue you are facing?
@Yionse thanks for confirming! Could you share the logs then so we can better diagnose the issue you are facing?
@deyaaeldeen when using '@azure/identity', an error is reported. if 'ConnectString' is used, it will run successfully. The value of fullQualifiedNamespace
is https://<eventhubname>.services.windows.net
. Below is the running logs.
@Yionse The fully qualified namespace shouldn’t have the eventhub name in it, that is why you’re getting a not found error. It should have the namespace instead. I would encourage you to use the existing test resources arm template to create a resource and use the output variable EVENTHUB_FQDN as the environment variable for the sample.
@Yionse The fully qualified namespace shouldn’t have the eventhub name in it, that is why you’re getting a not found error. It should have the namespace instead. I would encourage you to use the existing test resources arm template to create a resource and use the output variable EVENTHUB_FQDN as the environment variable for the sample.
@deyaaeldeen The value of fullQualifiedNamespace
is <namespace>.services.windows.net
. I have now received another error. Below is the running logs.
@Yionse this error indicates there is a problem with authentication and I can't know what exactly is the issue without looking at the logs. Could you share the logs?
@Yionse this error indicates there is a problem with authentication and I can't know what exactly is the issue without looking at the logs. Could you share the logs?
I have added the Azure Event Hubs Data Owner
permission for the resource in the portal, and it can now run normally. Also, how is the progress status of item5?
@deyaaeldeen Hi, may I ask about the progress of item5
?
link1 link2 link3 link4 link5
Reason:
@Azure/identity
verification in the sample, but instead use connection verification, it can run successfully.AbortController
is undefined.@joheredi,@jsquire,@deyaaeldeen for notification.