Kloudless Adds Support for Azure Service Bus and Google Cloud Pub/Sub David Hallinan Published: June 16, 2020 We, here at Kloudless, are no strangers to the innovations and evolution of the modern API. As a company that not only provides API services but aims to reinvent the way data is acquired through an abstraction of categorically-similar APIs, we do our best to stay on top of technological breakthroughs in the field when they occur. We are major proponents of things like event-driven architecture, which you can read all about in our article from late last year. Events play a pivotal part in the workflow of applications leveraging API integrations for their end-user experience. Activity monitoring provides a near real-time account of changes in data and allows for much better user experience in any application that takes advantage of it. Last year, we were thrilled by Amazon Web Services‘ announcement of AWS EventBridge and worked very hard to bring this functionality to Kloudless for our customers already ingrained in the AWS ecosystem. Kloudless is a proud EventBridge partner and has already worked with partners and customers alike to build event bus functionality into their respective codebases.For our customers that are not using AWS, we’re happy to announce that Kloudless now supports both Azure Service Bus and Google Cloud Pub/Sub. What’s the Big Event?Both Azure Service Bus and Google Cloud Pub/Sub are their company’s respective versions of a serverless event bus that simplifies connecting applications together using data from your own applications, Software-as-a-Service (SaaS) applications, and web services. Both event bus’ provides a stream of real-time data from event sources, such as Kloudless, and then delivers that data to targets within their individual web services. Both can be configured with routing rules to determine where to send your data to build application architectures that react in real-time to all of your data sources. Because of this, both make it easy to build loosely coupled and distributed event-driven architecture-based applications. Either Google Cloud or Microsoft Azure takes care of everything from event ingestion and delivery, to security, authorization, and error-handling for your application. The end result is an application with a much speedier routine for reacting to changes in data. Without the need to make an API call to receive events, applications can simply leverage their connections to their preferred web services to acquire event data in real-time through existing services. Event Buses and Kloudless are a perfect matchKloudless has extended its activity monitoring functionality with Service Bus’ and Pub/Sub’s powerful routing, filtering, analytics, and data delivery guarantees, giving our customers that already use these web services a powerful new means of receiving event data. Product teams building apps in either Google or Microsoft’s ecosystems no longer need to implement webhook processing or poll, queue, and filter data on their own, leaving more time to focus on their business logic instead.Kloudless developers using Service Bus or Pub/Sub receive a stream of activity occurring in their customers’ connected cloud accounts directly within their application stack. Kloudless publishes events for both basic CRUD activities such as new, updated, or deleted files and objects, as well as more granular audit-type activities such as updates to collaboration controls or group memberships. Developers no longer need to process webhooks from Kloudless or write code in their app to poll, queue, and filter these events; they can instead use these event buses’ to filter and route activity to their place of choice. Engineering teams using Kloudless and an event bus are able to save time and launch product integrations faster by focusing on business logic rather than boilerplate code. When customers connect with Kloudless and Service Bus or Pub/Sub, data is sent directly to their web services and no longer requires a separate API call from their app or server to Kloudless. The immediate benefit is a reduction of API calls which vastly shortens the time required to acquire event data. Data that would take as long as 30+ seconds to receive can now be obtained in as little as a few seconds. For customers already using Google or Microsoft’s web service ecosystem, this means reduced complexity and a much-simplified implementation of subscribing to event data, as there is no need to write additional code to process code from Kloudless. Applications process event data directly from their web service provider, which in most cases, they are already familiar with.Event Bus Use CasesAn Event Bus helps provide Kloudless customers with a bevy of functionality applicable to a host of different use cases. Some of the following are specific benefits that codebases can take advantage of by using an event bus with Kloudless.Data Sync and CollaborationBusiness users store data in a wide range of locations, including cloud storage, CRM applications, calendar tools, or even within chat applications. This means that integrating with a user’s existing SaaS apps is a fundamental requirement for any business app. Apps can prompt users to pull in any data from their existing software services via the Kloudless Unified API, and can then keep it in sync by listening for activity Kloudless publishes to their web services. When Kloudless publishes a new event to an app, the app can make further API requests to Kloudless to perform actions like downloading an updated file, updating a CRM record, or refreshing knowledge of a calendar event.CASB, DLP, and eDiscoveryData security solutions are tasked with monitoring changes that occur in a customer’s tenant. Those changes may be a new or updated file, a user being added to a group, changes to collaboration settings that result from a file being shared externally, or even several login failures to a particular user account from a certain IP address. Kloudless Activity Monitoring enables security solutions such as for CASB, DLP, and eDiscovery, by providing audit log level detail in a consistent and uniform manner via Azure Service Bus or Google Pub/Sub. Kloudless monitors org-wide activity in connected cloud accounts using admin credentials regardless of whether the cloud service requires polling, listening to webhooks, crawling for data, or custom protocols. Once an application using Kloudless is aware of a change via Service Bus or Pub/Sub, it can take action using Kloudless’ Unified APIs to access, modify, or delete files and objects, collaboration settings, or user and group data.Read all about these security use-cases in more depth on our dedicated security solutions page, or learn about the Kloudless Crawler.The Kloudless Activity Monitoring API Earlier this year, Kloudless announced the release of our new-and-overhauled Activity Monitoring API. Previously called the Events API, this new branding is far more than just a change in name only. We have rolled out a whole new subscriptions feature, along with a host of functionality to accompany the changes. Customers can now subscribe to resources on an individual basis for certain connectors, such as calendars in Google Calendar and drives in Google Drive. The default subscription for all apps that have enabled the Activity Monitoring API is a firehose method for all default resources, but now customers have the ability to pick and choose between what events to monitor. Subscriptions provide a complete overhaul of how applications can receive event data from Kloudless, and this comes with a host of new options for apps using our Unified APIs. Subscriptions can be listed or removed for specific resources, and provide more metadata regarding the information of a subscription. Our new Activity Monitoring API works with Service Bus, Pub/Sub, and Amazon’s Eventbridge as well and delivers a wide range of flexibility in regards to the data it monitors. Firstly, apps can better handle rate limits by sending out fewer API calls for data changes. More importantly, apps can now decide the destination to receive their event data, with both web services notifications and app webhooks being available on a per-app basis. Kloudless provides full CRUD endpoints to manage subscriptions, and activity monitoring with subscriptions can be automatically enabled for any user accounts connected to your app.To enable automatic subscriptions for your application, please visit our Events configuration page.Future DevelopmentEvent-driven architecture’s popularity has skyrocketed due to the need for real-time eventing in so many modern applications, as well as the ability to fully decouple systems involved. In order for EDA to proceed at the level of growth they are experiencing though, more available tools for eventing must continue to be built and supported. Microsoft’s Azure Service Bus, Google Cloud’s Pub/Sub, and AWS’s EventBridge represent a massive leap forward for those building applications with a need for real-time activity monitoring.To learn more about the Kloudless Activity Monitoring API, please head over to our docs and read all about the changes implemented. In the meantime, if your application needs to provide API integrations with real-time data monitoring, sign up now for a free account at Kloudless and start testing out how our Unified APIs can simplify your product roadmap.