Hi
I have pubsub subscription with the the following settings:
Delivery type = Pull
Message retention duration = 10 minutes
Expiration period= 14 days
Acknowledgment deadline – 60 seconds
I have also ticked Enable exactly once delivery and Message ordering.
Retry policy is Retry immediately.
I am using Airflow (Composer) to read from the subscription (and write to BigQuery table).
I want to read only the latest messages every time.
Obviously I can make sure by using the Airflow script not to write twice the same message, but is there anything I can do to configure the subscription so I won't read twice the message?