Abstract
Communication and collaboration are vital for Microservices applications – whether it is synchronous or asynchronous. In this chapter, I am going to elaborate on what Publish and Subscribe is and when it is useful. I will walk you through the Dapr capabilities for implementing Publish and Subscribe and what are the supported messaging systems. Note that I will collectively refer to message brokers and streaming platforms that are supported by Dapr as messaging systems. Then I will show you how to build a system of three services where one of them is producing events and the others are consuming and processing them. At the end of the chapter, I will briefly touch on the future of the Publish and Subscribe building block in Dapr.
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). Publish and Subscribe. In: Introducing Distributed Application Runtime (Dapr). Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6998-5_7
Download citation
DOI: https://doi.org/10.1007/978-1-4842-6998-5_7
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)