cluster_header not set for RequestMirrorPolicy
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start with the RouteConfiguration response path and the RequestMirrorPolicy handling, using the Java builder example in the issue to reproduce the missing field. Run the provided grpcurl command against the aggregated discovery service and compare the returned requestMirrorPolicies with the snapshot; done means cluster_header is preserved in the RouteConfiguration response.
Written by the indexing model from the issue text.
Description
RouteConfiguration always return empty cluster_header fields. Code for reproduce:
RouteConfiguration.newBuilder()
.setName("local_route")
.addVirtualHosts(
VirtualHost.newBuilder()
.addRequestMirrorPolicies(RequestMirrorPolicy.newBuilder().setClusterHeader("cluster-shadow")))
.build();
cluster_header exist in snapshot
but not return in RouteConfiguration
grpcurl -plaintext -d '
{
"version_info":"1",
"type_url":"type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
"resource_names":[
"local_route"
],
"node":{
"cluster":"cluster1",
"id":"id1"
}
}' localhost:8888 envoy.service.discovery.v3.AggregatedDiscoveryService/StreamAggregatedResources | jq .resources[0].virtualHosts[0].requestMirrorPolicies
[
{}
]
- Dominant language
- Java
- Stars
- 312
- Forks
- 150
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from envoyproxy/java-control-plane
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
envoyproxy/java-control-plane#481 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
envoyproxy/java-control-plane#471 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
envoyproxy/java-control-plane#463 ·
-
help Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
envoyproxy/java-control-plane#432 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
envoyproxy/java-control-plane#411 ·
All issues in envoyproxy/java-control-plane
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100