potiuk commented on a change in pull request #7613: [AIRFLOW-6978] Add
PubSubPullOperator
URL: https://github.com/apache/airflow/pull/7613#discussion_r387671628
##########
File path: airflow/providers/google/cloud/sensors/pubsub.py
##########
@@ -30,11 +31,16 @@
class PubSubPullSensor(BaseSensorOperator):
"""Pulls messages from a PubSub subscription and passes them through XCom.
+ Always waits for at least one message to be returned from the subscription.
.. seealso::
For more information on how to use this operator, take a look at the
guide:
:ref:`howto/operator:PubSubPullSensor`
+ .. seealso::
+ If you don't want to wait for at least one message to come, use
Operator instead:
Review comment:
Good comment
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services