I have a project built with Spring Cloud GCP, which makes use of a subscription that is configured with Exactly once delivery
enabled on GCP Pub/Sub subscription settings, and with Ack deadline
set to 5 minutes (also in the GCP console).
Using Spring, I also have access to configure subscriber settings using configuration options (for example: spring.cloud.gcp.pubsub.subscriber.max-ack-extension-period=1800
).
My question is twofold:
- Which of these configurations (GCP console vs Spring configuration parameters) take effect in case of conflict?
- Can I actually have exactly-once delivery semantics with Spring Cloud GCP (given that the feature is marked as having limited support in the docs: https://cloud.google.com/pubsub/docs/exactly-once-delivery)?