This document provides information about publishing messages.
A publisher application creates and sends messages to a topic. Pub/Sub offers at-least-once message delivery and best-effort ordering to existing subscribers.
The general flow for a publisher application is:
- Create a message containing your data.
- Send a request to the Pub/Sub server to publish the message to the specified topic.
Before you begin
Before configuring the publish workflow, ensure you have completed the following tasks:
- Learn about the publishing workflow.
- Create a topic.
- Choose and create a subscription.
Required roles
To get the permissions that you need to publish messages to a topic, ask your administrator to grant you the