This question / request is based on recently resolved #1054 / #650 new features.
These are clearly timely and beneficial to developers utilizing modern Azure environments with MT.
However, personally I am struggling to locate relevant changes among 630+ updated files to figure out the best way to take advantage of this new functionality; would it be possible to provide a minimal "blurb" of what exactly these changes bring to the table and/or example of how to use them?
I checked for relavant topics on StackOverflow and Google Groups - unfortunately, no matches.
Well, all there is right now is the sample Azure function I built:
Thank you, @phatboyg!
@phatboyg Do you plan on formally releasing this as a separate Nuget package (like Azure transport) in a later version?
Yes, it will use the AzureServiceBus transport package as well, but the extensions for WebJobs will be a separate package.
In fact, it already is published: https://www.nuget.org/packages/MassTransit.WebJobs.ServiceBus/4.1.0.1414-develop
@phatboyg Sorry I missed that. Thanks a bunch man. I just downloaded the source (develop branch) and gave it a test drive. It's working very well. I really liked how you included EventHubTrigger sample too. This will allow us to connect all of our messaging transports together using the lightweight Az Functions to handle the messages.
EventHub was a cherry on top, even though I couldn't ever get it working for me (surely my misunderstanding of how the triggers are configured).
Anyway, enjoy!
Here's the thing : Azure Event Hubs are created in a different namespace than the service bus queues/topic components (wasn't always this way). The reason why the EventHubTrigger doesn't fire is that we need another bus configured to publish events to after consuming the command from the previous namespace. It feels like a hack--and probably is--but that's how we would get it to work in the short-term.
I'll play around with it and come up with some options.
References:
@phatboyg I have tested the Azure Functions with the pre-release develop nuget and it is working fine. Wondering if you are planning to release the production ready nuget for it anytime soon. Please let me know.
It will ship along with MT5, sometime in the near future. No date has been set at this point.
@phatboyg Is there any sample demo app created by you for sending the events to azure event hub using masstransit. I am not able to find appropriate documentation for the same.
Most helpful comment
http://masstransit-project.com/MassTransit/usage/azure-functions.html