GCP PubSub Publisher Agent Configuration

To configure the GCP PubSub Publisher Agent, double-click the agent or select the Edit agent button after left-clicking on the agent in the Workflow Editor. After opening the Agent Configuration, you can set a name for the agent using the Name field.

Main Tab

The GCP PubSub Publisher Main tab contains settings related to the profile and handling of messages for submission by the agent.

GCP PubSub Publisher Configuration - Main tab

Setting

Description

Setting

Description

Google GCP Profile

This is the profile to use for subscription. For more information, see GCP Profile.

Project

This is to identify the project that contains the subscribed PubSub subscription and associated Topic.

Topic

This is to identify existing PubSub topics within a project.

Enable Message Ordering

Check this to publish messages in the same order as the orderingKey.

Endpoint

The custom URL that you must specify for using the GCP services. The Endpoint must be specified in the format host:port.

Advanced Tab

GCP PubSub Publisher Configuration - Advanced tab

Setting

Description

Setting

Description

Group Messages Threshold

This is to set the number of messages to be allowed in a batch for publishing. 

Group Milliseconds Threshold

This is to set the time elapse from the first message retrieval before publishing subsequent batches in one instance.

Group Kilobytes Threshold

This is the threshold for messages to be published based on the configured kilobytes. Once the size is met, all messages within the threshold will be published in a batch.

Max Outstanding Messages

Maximum number of messages to be published from PubSub. 

Max Outstanding Kilobytes

Maximum size for messages to be published from PubSub.

Executor Threads

The number of threads for each stream to handle outgoing messages.Â