diff --git a/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-services-grpc.md b/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-services-grpc.md index 71679ff51..adf36ab1f 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-services-grpc.md +++ b/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-services-grpc.md @@ -309,6 +309,8 @@ context.AddMetadata("dapr-stream", "true"); ### Streaming gRPCs and Resiliency +> Currently, resiliency policies are not supported for service invocation via gRPC. + When proxying streaming gRPCs, due to their long-lived nature, [resiliency]({{< ref "resiliency-overview.md" >}}) policies are applied on the "initial handshake" only. As a consequence: - If the stream is interrupted after the initial handshake, it will not be automatically re-established by Dapr. Your application will be notified that the stream has ended, and will need to recreate it. diff --git a/daprdocs/content/en/operations/resiliency/resiliency-overview.md b/daprdocs/content/en/operations/resiliency/resiliency-overview.md index 2929e2490..c92a2c94f 100644 --- a/daprdocs/content/en/operations/resiliency/resiliency-overview.md +++ b/daprdocs/content/en/operations/resiliency/resiliency-overview.md @@ -31,11 +31,7 @@ kubectl apply -f .yaml Additionally, you can scope resiliency policies [to specific apps]({{< ref "component-scopes.md#application-access-to-components-with-scopes" >}}). -## Demo video - -Learn more about [how to write resilient microservices with Dapr](https://youtu.be/uC-4Q5KFq98?si=JSUlCtcUNZLBM9rW). - - +> See [known limitations](#limitations). ## Resiliency policy structure @@ -177,7 +173,11 @@ spec: circuitBreaker: pubsubCB ``` -## Related links +## Limitations + +- **Service invocation via gRPC:** Currently, resiliency policies are not supported for service invocation via gRPC. + +## Demos Watch this video for how to use [resiliency](https://www.youtube.com/watch?t=184&v=7D6HOU3Ms6g&feature=youtu.be): @@ -185,6 +185,11 @@ Watch this video for how to use [resiliency](https://www.youtube.com/watch?t=184 +Learn more about [how to write resilient microservices with Dapr](https://youtu.be/uC-4Q5KFq98?si=JSUlCtcUNZLBM9rW). + + + + ## Next steps Learn more about resiliency policies and targets: - Policies