Skip to main content
  • 1236 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics