Google PubSub Connector Guide > Google PubSub connections > Google PubSub event target properties
  

Google PubSub event target properties

After you define an event target for a Google PubSub connection, you can publish the connection. You can then access the event target in a process and deploy the process to publish the events generated by the event target downstream.
To create event targets for a Google PubSub connection, click Add Event Target on the Event Targets tab. Select the event target type as Google PubSub Writer. You can add one or more event targets 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 target 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 target that appears in the Process Designer.
The following table describes the advanced event target properties that you can configure:
Property
Description
Topic Name
Required. The name of the topic to which the messages need to be sent.
Message Ordering Enabled
Required. Enable this option to preserve the message order. You must set 'GooglePubsubOrderingKey' as the header to specify the key. If you do not set the header, the system timestamp will be used.
Default is No.
Content Format
Required. The message content type that needs to be written.
You can select one of the following values:
- TEXT
- XML
- JSON
Default is TEXT.
Other Attributes
Optional. A list of additional configuration properties of the Google Pub/Sub producer in the URL-encoded format. Use (&) to separate the values.