GCP documentation says the max runtime a cloud run container can be 60 min (Timeouts greater than 15 minutes are a Beta feature.) Now, one of the way to trigger cloud run is via pub-sub push subscription. However, GCP documentation says a pub-sub push subscription can have maximum ack deadline of 10 minutes.
Now, my cloud run container is taking 15 minutes to finish. And after 10 minutes of container start, push subscription misses the ack deadline and topic re-publishes the message due to which another instance of cloud run is created. And this keep goes on in infinite loop.
Can anyone suggest what can be done here?