LimitationsThis integration has the following limitations:
- Backfilling—Not supported because Pub/Sub does not support backfilling of historical data.
- Data sequence—Pub/Sub requires a specific configuration to deliver messages in the correct order. If the message order is not configured properly, it will also impact how Validio receives the data. For more information, see Order messages in Google Cloud Pub/Sub documentation.
Prerequisites for integrating with Pub/Sub
For Validio to validate your Pub/Sub data stream requires:- Create a service account in Google Cloud console with the following access and permissions to the specific Pub/Sub stream:
roles/pubsub.subscriberto consume messages from a subscription.roles/pubsub.viewerto view topics and subscriptions.- For more information, see Access Control with IAM for Pub/Sub and Authenticate to Pub/Sub in Google Cloud documentation.
- Obtain a service account key in JSON file format for your service account. For more information, see Create and delete service account keys in Google Cloud documentation.
Add a Google Cloud credential
To add a Google Cloud credential for Pub/Sub,- Navigate to Credentials and click + New credential.
- Under Namespace, select a namespace where the resources will be created.
- For Credential Type, select Google Cloud Platform (GCP).
- Fill in the Configuration parameter fields. Refer to the Google Cloud Credential Parameters table.
- (Optional) Click Test credential to validate that Validio can successfully access the Google Cloud account. If validation fails, check that you provided the correct parameter values.
- (Optional) Check Use for catalog and schema checks to add the BigQuery tables that this credential can access to the catalog. Pub/Sub topics and subscriptions are not added to the catalog.
- Click Create.
Google Cloud credential parameters
Add a Pub/Sub source
To add a source for Pub/Sub,- Navigate to Sources and click + New source.
- Under Source type, select Google Cloud Pub/Sub.
- Fill in the configuration parameters. For more information, see Pub/Sub Configuration Parameters.
- Click Continue to create the source.