How To Choose The Best Collapsible Fishing Rod For Your Next Trip

Fishing is a great way to relax and get away from the hustle and bustle of everyday life. If you’re looking for an easy way to get out and enjoy the outdoors, a collapsible fishing rod is the perfect…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Azure Events Grid

We have learned from technology evolution .Patterns and practises have seen changes from time and time to evenly distribute data across communicating systems and applications. In the transit phase from Monolithic applications design to granular structure we all have our how to wow moments. The rise of Service oriented Architecture pattern followed with enterprise service bus and Micro-services architecture pattern ,all of these are targeted towards building effective communication channel across targeted systems. With wide range of digital road map one thing which is most important is data .for enterprise data is important more then ever. Storing and transmitting big data set along with its relational properties is critical to build future knowledge base transformation journey for organisations. This requires special effort and with technology advancement it become easy then before to manage these known and unknown requirement.

In this article we will try to give an overview of what has changed in modern technology landscape and why we should care about these changes when developing enterprise grade solutions

This list is endless, we will not go in details, and we can find these information on web with single click. Forget to tell that search is another advancement to technology evolution.

Let us bring ourselves back to event and eventing process. Why should we care and why we should learn. Beginning of 2018 Microsoft has announced general availability of azure event grid, an eventing platform which works with native cloud products and services together with custom build applications to publish and subscribe events.
The basic objective of eventing process is to notify the party of interest about change and what has been changed. This is the big step towards building reactive programming interface for applications. With recent announcement on azure event grid, Microsoft has made general availability to bunch of great features to event grid in form of retry policy, dead lettering of events, manual handshake validation with validation uri, support to storage queues and hybrid connection as destination .This list looks great when we want to control events emitted from source framework to interested subscribing applications .Some of the event emitters and subscriber application and systems is shown below.

The community has done a great work and if you are new to event grid and platform, above links will guide you to get started with event grid without going much into descriptive information. In below section we will cover event domain and how you can manage multiple event grid topic with single entry point for your event driven process.

With rise and adoption of azure event grid, Microsoft has also came up with Azure event Domain. Azure Event Domain service is fully managed event broker service and is in preview state. Event Domain multiple integration and data movement use cases. This service enables organization to publish and subscribe events on scale with single publishing endpoint with n number of event domain topic associated with each Azure event domain.
Each event grid topic associated with event domain can again be scaled with multiple event subscriber working with same or different event filter route condition .Azure event domain is great service to use when we need to synchronise and communicate with variety of application within enterprise own domain space or outside customers and partners.

Using the same event grid driver in code we can build our modern enterprise grade event broker middle-ware. For enterprise this help to minimise the overall resource consumption with effective push notification model rather than relying on scheduled pull pattern of communication. If we look closely to the above diagram, it closely resembles of modern enterprise service bus which is again connected with various stateless and statefull services like Service fabric, Azure functions, Logic Apps, storage, event hub etc.

To publish event to event domain we need to create event domain resource in the resource group .This can be done either with azure portal or shell command .The process has been documented on our previous blog post at https://medium.com/@abhishekcskumar/event-grid-domain-cosmos-graph-database-azure-functions-and-scalable-event-routing-for-graph-2421a7009f59 . In this example we will use console application to publish events to event domain and will route the event details to multiple subscriber like cosmos DB, logic Apps, external webhook listeners and event hub.

In below code we have used Azure Functions Cosmos database input bindings to publish event details into cosmos collection. The function is invoked through http trigger and perform initial validation handshake with Event grid topic .

Each domain can have one or more then associated topics to route events . Again each topic is been associated with one or more then one subscription with appropriate event filter condition. To show this with example we have created 4 different topics associated with event domain and each topic has single subscription to update the downstream systems .

Once event domain topic and subscription is setup correctly ,In next we will run our console app and fire up events to event domain which is again get routed to different topics based on topic name passed through event payload. To verify azure functions are listing to the events ,we can click on the monitor tab of azure functions and can look into the run details

Other place to look for is cosmos database collection . To verify the event details you can either use storage explorer or use azure portal an run the basic sql select statement against the collection

Other event subscriber are logic Apps ,event Hubs and external web-hook endpoint . To verify event subscription for external endpoint we had registered webhook.site endpoint within event domain topic with manual validation process .As validation is completed earlier we can see the events getting routed to external HTTP endpoint

Like Event Grid Topic ,Azure Event Domain has good monitoring features through portal . We can drill down to each of the subscription and verify the event details. Below is the example of Logic Apps event subscription which shown how much event get published and routed through webhook endpoint of Logic Apps

As event domain service is in preview state ,it is worthwhile to have your hand-on experience on domain topic to and work with custom event schema to publish and subscribe event through event domain .

Add a comment

Related posts:

WHAT IS HEALTH? WHAT IS FITNESS?

What is health? Health — and these are Phil Maffetone’s definitions from this wonderful book called, Everyone is an Athlete, which lots of people make fun of. His vision of health and fitness is that…

Has anyone ever heard of a website called freecreditreport360.com? I just want to make sure it is a legit site

Has anyone ever heard of a website called freecreditreport360.com? I just want to make sure it is a legit site Answer : I suggest that you visit this site where you can compare from different…

Google Research Looking Back 2019 and Forward to 2020

What are some key ideas in 2019? → increasing automation and connectivity. (make technology that would help everyone in their daily life) Make new methods → that will able to make humans understand…