Pub/Sub Lite
Prepare credentials and permission in Google Cloud console
Certain credentials and permission are required for Validio to validate your data:
- A service account with access and permissions to the specific Pub/Sub Lite stream.
Permissions for service accounts
Certain permissions and roles are required for the service account.
For more information, refer to Access control with IAM for Pub/Sub Lite and Authenticate to Pub/Sub Lite.
Service account for Source config
We recommend that you create a service account where the Validio platform is granted access to the read data from your Pub/Sub Lite stream.
Service account key
- Obtain a service account key in JSON file format for your service account.
For details, refer to Create and delete service account keys. - Provide the service account to the Credentials field in Validio by either:
- Upload the JSON file to the
JSON file
field. - Paste the content of the JSON file into the
JSON text
field.
- Upload the JSON file to the
Credential parameters
Field | Required | Description | Example |
---|---|---|---|
Name | ✅ | Identifier for the credentials. Used when accessing Sources. | |
Service account | ✅ | Upload the JSON file or paste the content of the JSON file containing the service account key. |
Configuration parameters
Field | Required | Description | Example |
---|---|---|---|
Name | ✅ | Identifier for the Source. Used when setting up Validators. | |
Project id | ✅ | Id of the Pub/Sub Lite project to read data from. | |
Location | ✅ | Location of the Pub/Sub Lite stream to read from. | |
Subscription id | ✅ | Id of the Pub/Sub Lite stream to read data from. | |
Message format | ✅ | JSON, AVRO or PROTOBUF | |
Message schema | ✅ | JSON - Not needed, Validio automatically infers schema AVRO - Refer to Avro Schema Declaration. PROTOBUF - Refer to Protobuf Message Type. |
Updated about 1 month ago