0 / 0
Google Cloud Pub/Sub connection
Google Cloud Pub/Sub connection

Google Cloud Pub/Sub connection

To access your data in Google Cloud Pub/Sub, create a connection asset for it.

Google Cloud Pub/Sub is used for streaming analytics and data integration pipelines to ingest and distribute data.

Create a connection to Google Cloud Pub/Sub

The Google account credentials are in JSON format. You can enter the credentials properties by individual fields or paste in the entire JSON file. See Known issue.

For information about Google Cloud authentication, see Google Cloud Authentication overview.

Use one of the following combination of values for authentication:

  • Credentials: The contents of the Google service account key (JSON) file, or
  • The following values:
    • Access token
    • Client ID: The OAuth client ID
    • Client secret: The OAuth client secret
    • Refresh token

Project ID: (Optional) The ID of the Google project

Choose the method for creating a connection based on where you are in the platform

In a project Click Assets > New asset > Data access tools > Connection. See Adding a connection to a project.


In the Platform assets catalog Click New connection. See Adding platform connections.

Where you can use this connection

You can use the Google Cloud Pub/Sub connection in the following workspaces and tools:

Projects

  • DataStage (DataStage service)

Catalogs

  • Platform assets catalog

Google Cloud Pub/Sub setup

Google Cloud Pub/Sub Quickstarts

Known issue

Must use "Credentials" field for the Google Cloud Pub/Sub connection

When you create a connection to Google Cloud Pub/Sub, in the Create connection: Google Cloud Pub/Sub page, you must paste the contents of the Google service account JSON file into the Credentials field for authentication. Although you can successfully test the connection by entering properties into the other fields instead (Access token, Client ID, Client secret, etc.), the job might fail.

Learn more

Parent topic: Supported connections