Google Cloud Pub/Sub
You can configure Google Cloud Pub/Sub as either a source or a target.
To configure the connection details for Google Cloud Pub/Sub in your Micro-Integration, see Google Cloud Pub/Sub Connection Parameters
You must also define at least one Micro-Integration Flow that specifies:
-
the endpoints where data is consumed from and published to. For more information, see Micro-Integration Flow Parameters.
-
how the header and payload fields should be mapped. For more information, see Mapping Headers and Payloads
For a listing of available message headers, see Google Cloud Pub/Sub Message Headers.
Google Cloud Pub/Sub Connection Parameters
The following table describes the connection parameters for Google Cloud Pub/Sub.
| Field | Description |
|---|---|
| Project ID | The Google Cloud project identifier. |
| Credentials | The Google Cloud Application Default Credential (ADC). The maximum length is 10000 characters. |
Micro-Integration Flow Parameters
You must configure the endpoint parameters for each Flow. Each Flow can have different settings, but they all share the connection details of the parent Micro-Integration. These parameters differ depending on whether Google Cloud Pub/Sub is configured as a source or a target.
Google Cloud Pub/Sub Source Parameters
The following table describes the parameters for configuring Google Cloud Pub/Sub as a source.
| Field | Description |
|---|---|
| Destination | The Google Cloud Pub/Sub topic name. |
| Subscription Name | The Google Cloud Pub/Sub subscription name. |
| Auto-Create Resources | The option to auto-create the Google Cloud Pub/Sub topic and/or subscription if it doesn't exist. The option is disabled by default. |
Google Cloud Pub/Sub Target Parameters
The following table describes the parameters for configuring Google Cloud Pub/Sub as a target.
Setting a Smart Topic Destination on the Mappings step overrides the target destination field set on the Details step.
| Field | Description |
|---|---|
| Destination | The Google Cloud Pub/Sub topic name. |
| Auto-Create Resources | The option to auto-create the Google Cloud Pub/Sub topic if it doesn't exist. The option is disabled by default. |