I'm trying to setup a DAG which would respond to Cloud Pub/Sub messages. It needs me to add the following import statements in my DAG code:
from airflow.providers.google.cloud.operators.pubsub import (
PubSubCreateSubscriptionOperator, PubSubCreateTopicOperator, PubSubDeleteSubscriptionOperator,
PubSubDeleteTopicOperator, PubSubPublishMessageOperator,
)
from airflow.providers.google.cloud.sensors.pubsub import PubSubPullSensor
DAG import is failing as it is unable to resolve dependencies. Can anyone let me know the required dependencies and how to bring them within Cloud Composer environment?