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

[appmesh] implement route retry policies #11642

Closed
2 tasks
Assignees
Labels
@aws-cdk/aws-appmesh Related to AWS App Mesh effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2
Milestone

Comments

@dfezzie
Copy link
Contributor

dfezzie commented Nov 23, 2020

App Mesh supports the configuration of Retry Policies on the route objects. These should be configurable by the customer

Use Case

Customers should be able to configure the retry policies for their routes

Proposed Solution

For each route protocol, the retry policies should be configurable

router.addRoute('test-http-route', {
  routeSpec: appmesh.RouteSpec.http({
    retryPolicy: {
        httpRetryEvents: [
            appmesh.HttpRetryEvent.ClientError,
        ],
        perRetryTimeout: aws.Duration.seconds(5),
        maxRetries: 2,
    },
    weightedTargets: [
      {
         virtualNode: node,
      },
    ],
  }),
});

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

@dfezzie dfezzie added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Nov 23, 2020
@dfezzie dfezzie changed the title [appmesh] implement retry policies [appmesh] implement route retry policies Nov 23, 2020
@github-actions github-actions bot added the @aws-cdk/aws-appmesh Related to AWS App Mesh label Nov 23, 2020
@skinny85 skinny85 added this to the [DevPreview] AppMesh milestone Dec 1, 2020
@skinny85 skinny85 added effort/small Small work item – less than a day of effort p2 and removed needs-triage This issue or PR still needs to be triaged. labels Dec 5, 2020
@mergify mergify bot closed this as completed in #13353 Mar 11, 2021
mergify bot pushed a commit that referenced this issue Mar 11, 2021
Adds route retry policies for http/http2 and gRPC routes.

Closes #11642

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

This was referenced Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment