micronaut-gcp icon indicating copy to clipboard operation
micronaut-gcp copied to clipboard

Make PubSub retry settings configurable

Open jeremyg484 opened this issue 1 year ago • 0 comments

Feature description

GCP PubSub publishers and consumers by default will infinitely retry remote GRCP calls to GCP services for the majority of errors that occur during those calls.

Following the example of Spring Cloud GCP (https://googlecloudplatform.github.io/spring-cloud-gcp/reference/html/index.html#grpc-connection-settings), we should be able to expose configuration settings to modify the underlying GRCP call behavior as desired. For example, the class of GRCP errors that cause a retry, the max number of retries, the time between retries, etc.

jeremyg484 avatar Oct 09 '23 15:10 jeremyg484