Decoupling applications using Pub/Sub
Pub/Sub is a messaging service that allows us to decouple applications that produce and receive events, creating a much more robust system due to the high availability and consistency that the service provides.
Before looking in detail at the different functionalities of Pub/Sub, it is important to understand the fundamental concepts of this technology, since we will mention them frequently in this section. These are presented here:
- Topic: Corresponds to a resource created within Pub/Sub where publishers will send their generated messages
- Subscription: Corresponds to a resource that represents the flow of messages from a specific topic to a particular subscriber
- Message: Corresponds to the information and attributes that are sent to a topic through a publisher and received by the subscribers to that topic
Pub/Sub types
Among the types of service that Pub/Sub offers us are the following:
- Pub/Sub: Multi-zone...