I need to populate data into Google Cloud Bigtable and the source of the data will be Google BigQuery.
As an exercise, I am able to read the data from BigQuery and as an seperate exercise I am able to write data into Bigtable as well.
Now I have to combine these 2 operations into one Google Cloud Dataflow job. Any example will be of great help.
For a people who want to transform bigquery data to bigtable in future can refer to following link
Ref : https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/blob/master/java/dataflow-connector-examples/src/main/java/com/google/cloud/bigtable/dataflow/example/BigQueryBigtableTransfer.java
You can just use the transforms as shown in those examples, adding whatever logic you need in between, for example: