'Retrieve azure service bus messages using google functions

So the scenario is that there is a ML model running in google cloud and the input to that needs to be send in form of an azure service bus message. Is this even possible?

I need to implement a handler (google cloud function) to retrieve messages from azure service bus.



Solution 1:[1]

You can use Azure service bus’ SDK and write your own code to retrieve it. You can go through these Azure Service Bus Client library for python samples, which may help you in writing your code.

You will need to trigger the function whenever you want to retrieve the messages from the service bus, to do that either you can use Cloud Scheduler to set a trigger timer or have Azure side trigger the HTTP URL of Cloud Functions.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Zeenath S N