Publish/subscribe messaging, or pub/sub messaging, is a form of asynchronous service-to-service communication used in serverless and microservices architectures. In a pub/sub model, any message published to a topic is immediately received by all of the subscribers to the topic.
What is Pubsub topic in GCP?
Google Cloud Pub/Sub provides messaging between applications. Cloud Pub/Sub is designed to provide reliable, many-to-many, asynchronous messaging between applications. Publisher applications can send messages to a “topic” and other applications can subscribe to that topic to receive the messages.
What is Pub/Sub example?
The pub/sub pattern is a way of architecting message exchanges among entities such as services, for example. Instead of communicating directly with each other, in the pub/sub pattern services can communicate via a message broker.