Analytics Hub is a data exchange platform that enables sharing of data and insights.
The core components of Analytics Hub are:
Analytics Hub Publisher: Publishes the data and share data at real time.
Listings: Enables sharing of data without replicating the shared data.
Analytics Hub Subscriber: Discover the data one is looking for, can combine data with existing datasets and leverage Bigquery for various analytics. When subscribed to a listing a linked dataset gets created in the project.
Analytics Hub Viewer: One can browse through the datasets that are accessible in Analytics Hub.
Analytics Hub Administrator: Create data exchange enabling data sharing. Grant permission to data publishers and subscribers to access these data exchanges.
Architecture Flow:
Shared datasets are the collection of tables and views defined by the data publisher.
Data subscriber get read only linked dataset inside their project and VPC perimeter that they can then combine with their own datasets. This is read only data.
Steps in creating and subsribing datasets in the analytics hub.
- Enable Analytics Hub API
- Create exchange by clicking on the Create Exchange link
Complete the details by providing Region, Display name etc. Setting permissions.
- Search for available listing and subscribing to the dataset
Filter for Trends and we find Google Trends data.
Add the dataset to our project.
We can run our queries and do various analytics and dashboarding.
Use Cases: Data sharing in real time.
Reference: https://cloud.google.com/bigquery/docs/analytics-hub-introduction
Top comments (0)