Abstract
So far, I have shown you how to interface with other services within your microservices-based application. This chapter will be about integrating with various external services. The communication typically happens in two ways – either an external service creates an event that a local Dapr service listens for or a local Dapr application makes a request to an external system. Dapr has a building block for talking to external systems, which logically can be split into two groups from a logical perspective – input and output bindings. I will enumerate the various systems that the Resource Bindings building block integrates with and whether it is for input or output or it is bidirectional. Then I will explain what the API of the Resource Bindings building block looks like. To demonstrate how things work, I will walk you through implementing a solution that monitors an Azure Blob Storage container for newly uploaded photos using Azure Event Grid; it performs object detection, then sends the recognized and tagged images to the same storage account, and also persists the objects identified to a state store.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Gatev, R. (2021). Resource Bindings. In: Introducing Distributed Application Runtime (Dapr). Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6998-5_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-6998-5_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-6997-8
Online ISBN: 978-1-4842-6998-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)