A GCP PubSub Publisher agent interacts with GCP PubSub service to create messages containing data and send a request to the service to publish the messages to the subscribed topic. In a real-time manner, the Publisher allows the submission using the high-performance streaming API. Each messages message are submitted through the API which will then deliver them according to the batch configurations.
When using a client library such as Java, the transmission details can be configured to wrap messages in batch for delivery based on the numbers, byte size or time, and options to use blocking or non-blocking calls for publishing. If non-blocking calls (e.g. asynchronous) are used, you can specify the flow control and retry settings. While callbacks are also available for the client library to report if messages have been accepted by the PubSub service.
...
This section contains the following subsections:
39.38.4.2.1 GCP Publisher Agent Configuration
39.38.4.2.2 GCP PubSub Publisher Agent Transaction Behaviour
39.38.4.2.3 GCP PubSub Publisher Agent Input/Output Data and MIM
39.38.4.2.4 GCP Publisher Agent Events