Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subscription-specific settings for retryableCodes #706

Merged
merged 3 commits into from
Nov 18, 2021
Merged

Conversation

mpeddada1
Copy link
Contributor

@mpeddada1 mpeddada1 commented Nov 16, 2021

For #418

We recently introduced support for overriding retryableCodes in pull settings (#670). However, this property can only be set globally. This PR enables subscription-specific configuration.
The retryableCodes configuration can be set in the following manner:

Global

spring.cloud.gcp.pubsub.subscriber.retryableCodes=INTERNAL, ABORTED

Subscription-specific

spring.cloud.gcp.pubsub.subscription.mySubscription.retryableCodes=INTERNAL, ABORTED

@mpeddada1 mpeddada1 changed the title Support subscription-specific settings for retryableCodes Add subscription-specific settings for retryableCodes Nov 16, 2021
@sonarcloud
Copy link

sonarcloud bot commented Nov 18, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@mpeddada1 mpeddada1 merged commit 43ad8d8 into main Nov 18, 2021
@mpeddada1 mpeddada1 deleted the retryable-code branch November 18, 2021 15:53
kateryna216 added a commit to kateryna216/spring-cloud-gcp that referenced this pull request Oct 20, 2022
…tform#706)

Support subscription-specific settings for retryable codes.

We recently introduced support for overriding retryableCodes in pull settings (GoogleCloudPlatform#670). However, this property can only be set globally. This PR enables subscription-specific configuration.The retryableCodes configuration can be set in the following manner:
Global
`spring.cloud.gcp.pubsub.subscriber.retryableCodes=INTERNAL, ABORTED`
Subscription-specific
`spring.cloud.gcp.pubsub.subscription.mySubscription.retryableCodes=INTERNAL, ABORTED`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants