micronaut-gcp
micronaut-gcp copied to clipboard
Make PubSub retry settings configurable
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.