You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jroachgolf84 (via GitHub)" <gi...@apache.org> on 2025/09/22 14:55:09 UTC
Re: [PR] Adding Google Pub/Sub as a viable queue to be used by the `MessageQueueTrigger` [airflow]
jroachgolf84 commented on code in PR #54684:
URL: https://github.com/apache/airflow/pull/54684#discussion_r2368844217
##########
providers/google/src/airflow/providers/google/cloud/triggers/pubsub.py:
##########
@@ -33,55 +33,60 @@ class PubsubPullTrigger(BaseTrigger):
"""
Initialize the Pubsub Pull Trigger with needed parameters.
+ :param subscription: the Pub/Sub subscription name. Do not include the full subscription path
:param project_id: the Google Cloud project ID for the subscription (templated)
- :param subscription: the Pub/Sub subscription name. Do not include the full subscription path.
- :param max_messages: The maximum number of messages to retrieve per
- PubSub pull request
- :param ack_messages: If True, each message will be acknowledged
- immediately rather than by any downstream tasks
:param gcp_conn_id: Reference to google cloud connection id
- :param poke_interval: polling period in seconds to check for the status
:param impersonation_chain: Optional service account to impersonate using short-term
credentials, or chained list of accounts required to get the access_token
of the last account in the list, which will be impersonated in the request.
If set as a string, the account must grant the originating account
the Service Account Token Creator IAM role.
If set as a sequence, the identities from the list must grant
Service Account Token Creator IAM role to the directly preceding identity, with first
- account from the list granting this role to the originating account (templated).
+ account from the list granting this role to the originating account (templated)
+
+ :param max_messages: The maximum number of messages to retrieve per
+ PubSub pull request
+ :param ack_messages: If True, each message will be acknowledged
+ immediately rather than by any downstream tasks
+ :param poke_interval: polling period in seconds to check for the status
+ :param waiter_delay: The time in seconds to wait between calls to the SQS API to receive messages
Review Comment:
No, these are something that I wrote myself. Why is that?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org