tests.system.google.cloud.managed_kafka.example_managed_kafka_topic

Example Airflow DAG for Google Cloud Managed Service for Apache Kafka testing Topic operations.

Requirements:

Operator to create a cluster requires GOOGLE_PROVIDER_NETWORK environmental variable that will contain the name of the network that will be used for cluster creation.

Please, note that if you are running this operator in Google Cloud Composer, this value will be set automatically and will not require any additional configuration. In other cases, the network in which the cluster will be created should be the same as your machine is running in.

Attributes

ENV_ID

PROJECT_ID

IS_COMPOSER

NETWORK

DAG_ID

LOCATION

CLUSTER_ID

CLUSTER_CONF

TOPIC_ID

TOPIC_CONF

TOPIC_TO_UPDATE

TOPIC_UPDATE_MASK

create_cluster

test_run

Module Contents

tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.ENV_ID[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.PROJECT_ID[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.IS_COMPOSER[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.NETWORK[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.DAG_ID = 'managed_kafka_topic_operations'[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.LOCATION = 'us-central1'[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.CLUSTER_ID[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.CLUSTER_CONF[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.TOPIC_ID[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.TOPIC_CONF[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.TOPIC_TO_UPDATE[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.TOPIC_UPDATE_MASK: dict[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.create_cluster[source]
tests.system.google.cloud.managed_kafka.example_managed_kafka_topic.test_run[source]

Was this entry helpful?