Project: gRPC (Orchestration & Management / Remote Procedure Call)
File: grpc_xds_features.md

This document lists the features supported in various gRPC language implementations and versions. Note that a gRPC client will simply ignore the configuration of a feature it does not support. The gRPC client does not generate a log to indicate that some configuration was ignored. It is impractical to generate a log and keep it up-to-date because xDS has a large number of APIs that gRPC does not support and the APIs keep evolving too. In the case where an xDS field corresponding to a feature is supported but the value configured for that field is not supported, a gRPC client will NACK such a configuration. We recommend reading the on xDS support in gRPC to understand the design philosophy. Not all cluster load balancing policies are supported. A gRPC client will NACK the configuration that contains unsupported cluster load balancing policy. This will cause all cluster configurations to be rejected by the client because the xDS protocol currently requires rejecting all resources in a given response, rather than being able to reject only an individual resource from the response. Due to this limitation, you must ensure that all clients support the required cluster load balancing policy before configuring that policy for a service. For example, if you change the ROUND_ROBIN policy to RING_HASH, you must ensure that all the clients are upgraded to a version that supports RING_HASH. The EDS policy will not support , which is different from Envoy. Envoy takes the overprovisioning into account in both and , but gRPC assumes that the xDS server will update it to redirect traffic when this kind of graceful failover is needed. gRPC will send the [`envoy.lb.doesnotsupport_overprovisioning` client feature](https://github.com/envoyproxy/envoy/pull/10136) to the xDS server to tell the xDS server that it will not perform graceful failover; xDS server implementations may use this to decide whether to perform graceful failover themselves. The EDS policy will not support per-endpoint stats; it will report only per-locality stats. An is ignored if the `health_status` is not HEALTHY or UNKNOWN. The optional `loadbalancingweight` is always ignored. Initially, only `google_default` channel creds will be supported to authenticate with the xDS server. The gRPC language implementations not listed in the table below do not support xDS features. Features | gRFCs | | | | |--|--||| xDS Infrastructure in gRPC client channel:<ul><li>LDS->RDS->CDS->EDS flow</li><li>ADS stream</li></ul> | | v1.30.0 | v1.30.0 | v1.30.0 |

| Load Balancing:<ul><li> domains matching</li><li>Only default path ("" or "/") matching</li><li>Priority-based weighted round-robin locality picking</li><li>Round-robin endpoint picking within locality</li><li> route action</li><li>Client-side Load reporting via </li></ul> | | v1.30.0 | v1.30.0 | v1.30.0 | v1.2.0 | Request matching based on:<ul><li> (prefix, full path and safe regex)</li><ul><li> must be true else config is NACKed</li></ul><li></li></ul>Request routing to multiple clusters based on | | v1.31.0 | v1.31.0 | v1.31.0 | v1.3.0 | Case insensitive prefix/full path matching:<ul><li> can be true or false</li></ul> | | v1.34.0 | v1.34.0 | v1.34.0 | v1.3.0 | Support for | | v1.36.0 | v1.36.0 | v1.36.0 | v1.4.0 | Support for | | <v1.51.0 | <v1.53.0 | <v1.54.0 | <v1.8.0 | :<ul><li>Only maxstreamduration is supported.</li></ul> | | v1.37.1 | v1.37.1 | v1.37.0 | v1.4.0 | :<ul><li>Only max_requests is supported.</li></ul> | | v1.37.1 (N/A for PHP) | v1.37.1 | v1.37.0 | v1.4.0 | :<br> Only the following fields are supported:<ul><li>delay</li><li>abort</li><li>maxactivefaults</li><li>headers</li></ul> | | v1.37.1 | v1.37.1 | v1.37.0 | v1.4.0 | | | v1.37.1 (C++)<br>v1.38.0 (Python) | v1.37.1 | v1.37.0 | v1.5.0 | and | | v1.47.0 | v1.39.0 | v1.52.2 | v1.9.0 | Aggregate Cluster Behavior Fixes | | v1.61.0 | | | | load balancing policy:<br> Only the following are supported:<ul><li>header</li><li>filterstate with key `io.grpc.channelid`</li></ul>Only function is supported. | | v1.40.0<br>(C++ and Python) | v1.40.1 | 1.41.0 | v1.10.0 | :<br>Only the following fields are supported:<ul><li>retryon for the following conditions: cancelled, deadline-exceeded, internal, resource-exhausted, and unavailable.</li><li>numretries</li><li>retrybackoff</li></ul> | | v1.40.0<br>(C++ and Python) | v1.40.1 | 1.41.0 | v1.8.0 | :<br>Uses instead of SDS | | v1.41.0<br>(C++ and Python) | v1.41.0 | 1.41.0 | | :<br><ul><li>`LOG` action has no effect<li>CEL unsupported and rejected</ul> | | v1.51.0<br>(C++ and Python) | v1.42.0 | 1.42.0 | | | | | v1.48.0 | | | :<br>Only the following detection types are supported:<ul><li>Success Rate</li><li>Failure Percentage</li></ul> | | v1.51.0 | v1.49.0 | v1.50.0 | v1.7.0 | | | v1.55.0 | v1.47.0 | v1.56.0 | v1.10.0 | | | v1.55.0 | v1.55.0 | v1.55.0 | | | | v1.55.0 | v1.54.0 | v1.56.0 | | Pick First | | v1.58.0 | v1.58.1 | v1.56.0 | | | | v1.56.0 | v1.53.0 | v1.56.0 | v1.9.0 | LRS Custom Metrics Support | | v1.54.0 | | | | mTLS Credentials in xDS Bootstrap File | | v1.57.0 | | v1.61.0 | | Stateful Session Affinity | , , | v1.61.0 | | | |