tests.system.google.cloud.bigtable.example_bigtable

此 Airflow DAG 示例创建并执行 Cloud Bigtable 上的以下操作: - 创建一个实例 - 创建一个表 - 更新集群 - 等待表复制完成 - 删除表 - 删除实例

此 DAG 依赖于以下环境变量

属性

ENV_ID

PROJECT_ID

DAG_ID

CBT_INSTANCE_ID_BASE

CBT_INSTANCE_ID_1

CBT_INSTANCE_ID_2

CBT_INSTANCE_DISPLAY_NAME

CBT_INSTANCE_DISPLAY_NAME_UPDATED

CBT_INSTANCE_TYPE

CBT_INSTANCE_TYPE_PROD

CBT_INSTANCE_LABELS

CBT_INSTANCE_LABELS_UPDATED

CBT_CLUSTER_ID

CBT_CLUSTER_ZONE

CBT_CLUSTER_NODES

CBT_CLUSTER_NODES_UPDATED

CBT_CLUSTER_STORAGE_TYPE

CBT_TABLE_ID

CBT_POKE_INTERVAL

create_instance_task

test_run

模块内容

tests.system.google.cloud.bigtable.example_bigtable.ENV_ID[source]
tests.system.google.cloud.bigtable.example_bigtable.PROJECT_ID[source]
tests.system.google.cloud.bigtable.example_bigtable.DAG_ID = 'bigtable'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_ID_BASE = ''[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_ID_1 = '-1'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_ID_2 = '-2'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_DISPLAY_NAME = 'instance-name'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_DISPLAY_NAME_UPDATED = 'instance-name-updated'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_TYPE[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_TYPE_PROD[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_LABELS: dict[str, str][source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_LABELS_UPDATED[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_ID = 'bigtable-cluster-id'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_ZONE = 'europe-west1-b'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_NODES = 3[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_NODES_UPDATED = 5[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_STORAGE_TYPE[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_TABLE_ID = 'bigtable-table-id'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_POKE_INTERVAL = 60[source]
tests.system.google.cloud.bigtable.example_bigtable.create_instance_task[source]
tests.system.google.cloud.bigtable.example_bigtable.test_run[source]

此条目有帮助吗?