Google PubSub Connector Guide > Google PubSub connections > Google PubSub Event Source Properties
  

Google PubSub Event Source Properties

You can configure an event source in a Google PubSub connection.
After you define an event source for a Google PubSub connection, you can publish the connection on the Cloud Server or on a Secure Agent. You can then access the event source in a process and deploy the process to consume the events generated by the event source.
To create event sources for a Google PubSub connection, click Add Event Source on the Event Sources tab. Select the event source type as Google PubSub Reader. You can add one or more event sources for each Google PubSub connection that you create.
The following table describes the basic event source properties that you can configure:
Property
Description
Name
Required. The event source name that appears in the Process Designer. The name must be unique for the connection.
The name must start with an alphabet and can contain only alphabets, numbers, or hyphens (-).
Description
Optional. A description for the Google PubSub event source that appears in the Process Designer.
Enabled
Select Yes to make the event source available immediately after it is published.
Select No to disable the event source until you are ready to use it.
Default is Yes.
The following table describes the advanced event source properties that you can configure:
Property
Description
Subscription Name
Required. The name of the subscription from which you want to read the messages.
.
Concurrent Consumers
The maximum number of consumers that can read messages in parallel from the subscription.
Default is 1. You can't edit this value.
Content Format
Required. The message content type that needs to be processed.
You can select one of the following values:
- TEXT
- XML
- JSON
Default is TEXT.
Simplify Content
Required. Enable this option to configure the event source to adjust XML or JSON content to match a valid process object structure.
Default is Yes.
Max Messages Per Poll
The maximum number of messages that you can receive from the server in one poll.
Default is 1. You can't edit this value.
Synchronous Pull
Enable this option to pull batches of messages synchronously.
Default is Yes.
Other Attributes
A list of additional configuration properties of the Google PubSub consumer in the URL-encoded format. Use (&) to separate the values.