Tag Reconcile Loader Configuration¶
Goal¶
Configure the BigQuery connector to automatically reconcile tags between the connector and Apache Ranger. This loader runs periodically to detect any differences by comparing the tags loaded by the connector with those present in Ranger, and it creates or deletes tags in Ranger as needed to maintain consistency.
Prerequisites¶
Before you begin, ensure the following:
- Privacera Manager is installed and the base installation is operational.
- The BigQuery connector is configured and running.
- Apache Ranger is properly configured and accessible.
Tag Masking Requirement
These tag reconciliation loader properties will only work if tag masking is enabled in the connector.
Configuration Steps¶
The tag reconcile loader helps maintain tag consistency between your BigQuery connector and Apache Ranger by:
- Monitoring tag differences: Compares tags loaded by the connector with those present in Ranger
- Automatic reconciliation: Creates missing tags in Ranger or removes orphaned tags
- Configurable intervals: Runs at specified intervals to ensure ongoing consistency
Tag Reconcile Loader Properties:
Property Name | Description | Default Value | Supported Values |
---|---|---|---|
CONNECTOR_BIGQUERY_TAG_RECONCILE_LOADER_ENABLED | Enable or disable the tag reconcile loader functionality | true | true , false |
CONNECTOR_BIGQUERY_SERVICE_TAG_RECONCILE_SYNC_INTERVAL | Set the interval for tag reconcile sync process in seconds | 540 | Any numeric value in seconds |
Configuration Steps¶
Warning
- Enabling this feature will automatically create and delete tags in Ranger based on connector data.
- Lower interval values result in more frequent reconciliation but may increase system load.
- Be sure to replace the example values with your actual configuration values.
Restart Required
Any changes to these properties require a restart of the BigQuery connector application for the updates to take effect.
-
Navigate to Settings → Applications in the Self-Managed Portal.
-
Select BigQuery from the list of Connected Applications.
-
Click on the application name or the icon, then click on Access Management → ADVANCED tab.
-
To update the tag reconcile sync interval, add the following property under the
Add New Custom Properties
section:Bash -
To disable the tag reconcile loader, add the following property under the
Add New Custom Properties
section:Bash -
Click SAVE to apply the changes.
-
SSH to the instance where Privacera Manager is installed.
-
Run the following command to open the
.yml
file to be edited.If you have multiple connectors, then replace
instance1
with the appropriate connector instance name.Bash -
To update the tag reconcile sync interval, add or modify the following property:
-
To disable the tag reconcile loader, add or modify the following property:
-
Once the properties are configured, run the following commands to update your Privacera Manager platform instance:
Step 1 - Setup which generates the helm charts. This step usually takes few minutes.
Step 2 - Apply the Privacera Manager helm charts. Step 3 - Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on.
-
In PrivaceraCloud, navigate to Settings → Applications.
-
Select BigQuery from the list of Connected Applications.
-
Click on the application name or the icon, then click on Access Management → ADVANCED tab.
-
To update the tag reconcile sync interval, add the following property under the
Add New Custom Properties
section:Bash -
To disable the tag reconcile loader, add the following property under the
Add New Custom Properties
section:Bash -
Click SAVE.
-
Once saved and enabled, the BigQuery connector will start. You can hover on the VIEW LOGS button to check the status, either Running or Stopped.
Note
Perform the following steps only if the connector does not reflect the updated configuration and requires a restart.
Restart the BigQuery Connector:
-
Go to Settings → Applications → select the BigQuery connector application.
-
Edit the application → Disable it → and Save it.
-
Open the same application again and then: Enable it and Save it.
- Prev topic: Advanced Configuration