-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
ServiceBusSender Identifier not set. #46952
Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
Hi @woodylaurence. Thanks for reaching out and we regret that you're experiencing difficulties. Confirming that this is a bug that was introduced this commit, which changed the flow where the identifier is being created. The code should have been updated to use the In the meantime, mitigation would be to use the options to explicitly set an identifier. The following will restore the intended behavior: await using var client = new ServiceBusClient"<< Fully Qualified Namespace >>", new DefaultAzureCredential());
var entityPath = "myQueue";
var options = new ServiceBusSenderOptions { Identifier = $"{entityPath}-{Guid.NewGuid()}" };
var sender = client.CreateSender(entityPath, options); |
Thanks @jsquire ! Solution will work for us for now and will keep an eye out for the release so that we can revert the temporary fix. |
fixed by #47346 |
The fix has been merged and will be included in our January release. |
Hi @woodylaurence. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation. |
Hi @woodylaurence, since you haven’t asked that we |
Library name and version
Azure.Messaging.ServiceBus v7.18.0+
Describe the bug
When creating a ServiceBusSender using ServiceBusClient.CreateSender() the returned Sender does not have its Identifier correctly set based off the queue/topic name.
This used to work < 7.18.0.
Expected behavior
ServiceBusClient.CreateSender() should return ServiceBusSender with Identifier set as -.
Actual behavior
Identifier is set as "-".
Reproduction Steps
Environment
No response
The text was updated successfully, but these errors were encountered: