-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Event Hubs] EventHubSender sample using SAS and Publisher #5290
Comments
|
Thanks for reporting @fashaikh We are working on a new version of this library at the moment and will get back to this issue in January with updates if any |
Hi there we are experiencing the same issue with the @azure/service-bus package, will this also be fixed in the same release? |
Currently the connection string support in both Event Hubs and Service Bus libraries is restricted to having only the SharedAccessKey and SharedAccessKeyName in it, using which the library then creates the SAS token. In the example shared in the issue description here, looks like what is being asked is the ability to pass in the SAS token itself in the connection string. Can you share what design choices in your application leads you to require to pass the SAS token yourself rather than relying on the library to create it? |
@ramya-rao-a in my case a different team is managing the event hub that we're writing to. They recently changed from issuing a connection string that has |
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Removing the |
Hello all, The latest Event Hubs package with version 5.3.0 and the latest preview of the Service Bus package with version 7.0.0-preview.6 now support taking connection string that has SharedAccessSignature specified. Please give it a try and let us know if you see any issues with it. Thanks for your patience! |
Is there a way to use a sas connection string like this with the js sdk..
Cant find a way to mimic this https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.eventhubsender.createfromconnectionstring?view=azure-dotnet
Here is how the publisherSASUri looks like
The text was updated successfully, but these errors were encountered: