GCP PubSub Subscriber Agent Configuration

To configure the GCP PubSub Subscriber Agent, double-click on the agent icon 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 Subscriber Main tab contains settings related to the profile and handling of messages for subscription and retrieval by the agent.


GCP PubSub Subscriber configuration - Main tab

Setting

Description

Setting

Description

GCP Pub/Sub Profile 

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

Ack Timeout in Seconds

This refers to the timeout interval for acknowledgements to messages received by the agent. 

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 Subscriber configuration - Advanced tab

Setting

Description

Setting

Description

Flow Control

Max Outstanding Messages

Maximum number of messages to be retrieved from PubSub. If not specified, all outstanding messages will be retrieved from PubSub until they are all processed for the subscription. You are required to specify numbers within the range of 1-9999999999.

Max Outstanding Kilobytes

This is the threshold for messages to be retrieved based on the configured kilobytes. Once the size is met, all messages within the threshold will be retrieved in a batch for collection. You are required to specify numbers within the range of 1-9999999999.

Concurrency Control

Parallel Streams

This is the number of streams available or open for subscribers to receive messages. You are required to specify numbers within the range of 1-50.

Executor Threads

The number of threads for each stream to handle incoming messages. You are required to specify numbers within the range of 1-50.