forked from aeraki-mesh/meta-protocol-proxy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.yaml
64 lines (64 loc) · 1.96 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
node:
id: test-id
cluster: test
admin:
access_log_path: ./envoy_debug.log
address:
socket_address:
address: 127.0.0.1
port_value: 8080
static_resources:
listeners:
name: listener_meta_protocol
address:
socket_address:
address: 0.0.0.0
port_value: 20880
filter_chains:
- filters:
- name: aeraki.meta_protocol_proxy
typed_config:
'@type': type.googleapis.com/aeraki.meta_protocol_proxy.v1alpha.MetaProtocolProxy
statPrefix: outbound|20880||org.apache.dubbo.samples.basic.api.demoservice
application_protocol: dubbo
codec:
name: aeraki.meta_protocol.codec.dubbo
metaProtocolFilters:
- name: aeraki.meta_protocol.filters.router
rds:
route_config_name: "test"
config_source:
resource_api_version: V3
api_config_source:
api_type: GRPC
transport_api_version: V3
request_timeout: 10s
grpc_services:
envoy_grpc:
cluster_name: aeraki_xds_server
clusters:
- name: aeraki_xds_server
type: STATIC
connect_timeout: 5s
http2_protocol_options: {}
load_assignment:
cluster_name: aeraki_xds_server
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: 127.0.0.1
port_value: 18000
- name: outbound|20880||org.apache.dubbo.samples.basic.api.demoservice
type: STATIC
connect_timeout: 5s
load_assignment:
cluster_name: outbound|20880||org.apache.dubbo.samples.basic.api.demoservice
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: 127.0.0.1
port_value: 20881