-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat: add servicebus sender correlation extensions #312
feat: add servicebus sender correlation extensions #312
Conversation
✅ Deploy Preview for arcus-messaging ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we're going to implement this with some kind of factory cfr how we do it in the service-to-service correlation poc ?
Yes, problem is that the Azure SDK doesn't allow enough 'hooks' for us to create an dedicated |
The poc uses the Azure client services to inject an
|
I was more referring to the |
Not quite, as these extensions also make sure that the dependency is logged correctly both with the assignment of the dependency ID as well as the duration the dependency call took. |
I see, with the extension method, the call to the servicebus dependency is logged as well, whereas with the builder, you just create the message with all required properties set. However, you're still responsible for making sure the dependency is logged. |
Yes, that's correct! 👍 |
Add extensions on the Azure Service Bus
ServiceBusSender
model to more easily send and track correlated messages that support service-to-service correlation.Closes #309