Every enterprise faces challenges in terms of coping with market demands and reacting to business events quickly enough to achieve the organizational goals. In this blog post I will explain how event-driven architecture helps enterprises improve agility and responsiveness by making their data analytics dashboards, specifically those built with Power BI, real-time.
Enterprises generate and store all kinds of data in areas like supply chain, master data, IoT feeds, digital marketing, promotional data and so on. Data analytics is a process of analyzing raw data by applying data slicing techniques and algorithms for inspecting, cleansing, transforming, and modelling data with the goal of discovering useful information, informing conclusions, and aiding decision making. There are many data analytics tools/solutions available in the market and Microsoft Power BI is one among the widely used tool in many enterprises.
Think about some of the below use cases and the need for real-time ingestion to update the dashboards:
Event-driven architecture gives you the power to stream information between applications, microservices and connected devices in real-time, as events occur throughout your business. As the diagram depicts, intranet and internet-based events can flow across the organization and be consumed by any application that has expressed interest of the events.
Power BI aggregates data from many sources to create interactive, immersive dashboards and reports that provide actionable insights and drive business results.
Here is a high-level flow diagram that shows the work items it takes to achieve real-time data ingestion to Power BI.
Postman can be used to simulate IoT feeds which publishes event to Solace and those events can be collected at a queue
patient.health.q by subscribing topics specific to health IoT sensors. Configured RDP will deliver the event to Power BI dataset with the help of push datasets API.
Here are the steps to enabling event-driven dashboards:
I am going to use two Push APIs to achieve this:
Follow this link for more details on Push Datasets API. Before getting into the configuration, please sign up at https://app.powerbi.com/home to make sure you have Power BI (it can be an enterprise or trial version).
Follow the below Microsoft documentation to create datasets by using post-dataset API
You can validate this step by checking the datasets section in Power BI.
Prepare Power BI Post-Rows API URL to publish the row to dataset:
Deploy Power BI certificates in Solace:
openssl x509 -inform der -in <>.cer -out <>.pem
scp -P2222 *.pem ftpuser@IP_ADDRESS:/certs/
Login to Solace and Navigate to “clients” page in left panel and click on REST tab to add new RDP object called “Azure”.
Once the REST consumer is created, go to “TLS Options” tab and fill in all the “Trusted Common Names” (Note: Refer Create “Client Certificate Authority” step, as the common name should match the certificate authority name).
All good so far, now it’s time to validate the Power BI dashboards on how they are refreshing in real-time:
I hope this blog post helps you better understand the advantage of using event-driven architecture to feed real-time data to your data analytics dashboards. Introducing event-driven architecture to the enterprise brings liveliness to the estate of applications allowing them to communicate in real-time and ensures respective key indicators to be visualized to make accurate and timely decisions.
Suresh is a senior architect at Solace, and an expert in designing solutions that help enterprises implement event-driven architecture. His knowledge of application integration and EDA has helped customers event-enable their systems to take advantage of real-time data streaming for microservices and containerization-based architecture. Suresh has worked extensively on ERP applications like SAP; designing and developing solutions for business processes in various functional domains.
Suresh holds a Bachelor of Technology degree in Electronics and Communication from Vijayawada Siddhartha Engineering College, and in his free time he enjoys watching movies and photography[position] => [url] => https://solace.com/blog/author/sureshkumar/ ) )