1
+ {
2
+ "servers" : [
3
+ {
4
+ "default_log_path" : " stdout" ,
5
+ "default_log_level" : " DEBUG" ,
6
+ "routers" : [
7
+ {
8
+ "router_config_name" : " actuator_dont_need_router"
9
+ }
10
+ ],
11
+ "listeners" : [
12
+ {
13
+ "name" : " grpc" ,
14
+ "address" : " 127.0.0.1:34904" ,
15
+ "bind_port" : true ,
16
+ "filter_chains" : [
17
+ {
18
+ "filters" : [
19
+ {
20
+ "type" : " grpc" ,
21
+ "config" : {
22
+ "server_name" : " runtime" ,
23
+ "grpc_config" : {
24
+ "hellos" : {
25
+ "quick_start_demo" : {
26
+ "type" : " helloworld" ,
27
+ "hello" : " greeting"
28
+ }
29
+ },
30
+ "config_store" : {
31
+ "etcd_config_demo" : {
32
+ "type" : " etcd" ,
33
+ "address" : [
34
+ " 127.0.0.1:2379"
35
+ ],
36
+ "timeout" : " 10"
37
+ }
38
+ },
39
+ "state" : {
40
+ "redis_state_demo" : {
41
+ "type" : " redis" ,
42
+ "metadata" : {
43
+ "redisHost" : " localhost:6380" ,
44
+ "redisPassword" : " "
45
+ }
46
+ },
47
+ "zookeeper_state_demo" : {
48
+ "type" : " zookeeper" ,
49
+ "metadata" : {
50
+ "servers" : " 127.0.0.1" ,
51
+ "zookeeperPassword" : " " ,
52
+ "sessionTimeout" : " 3s" ,
53
+ "logInfo" : " false" ,
54
+ "keyPrefixPath" : " /"
55
+ }
56
+ }
57
+ },
58
+ "lock" : {
59
+ "redis_lock_demo" : {
60
+ "type" : " redis" ,
61
+ "metadata" : {
62
+ "redisHost" : " localhost:6380" ,
63
+ "redisPassword" : " "
64
+ }
65
+ },
66
+ "etcd_lock_demo" : {
67
+ "type" : " etcd" ,
68
+ "metadata" : {
69
+ "endpoints" : " localhost:2379" ,
70
+ "username" : " " ,
71
+ "password" : " " ,
72
+ "keyPrefixPath" : " /lock" ,
73
+ "dialTimeout" : " 5"
74
+ }
75
+ },
76
+ "zookeeper_lock_demo" : {
77
+ "type" : " zookeeper" ,
78
+ "metadata" : {
79
+ "zookeeperHosts" : " 127.0.0.1" ,
80
+ "zookeeperPassword" : " " ,
81
+ "sessionTimeout" : " 3" ,
82
+ "logInfo" : " false" ,
83
+ "keyPrefixPath" : " /"
84
+ }
85
+ }
86
+ },
87
+ "sequencer" : {
88
+ "redis_sequencer_demo" : {
89
+ "type" : " redis" ,
90
+ "metadata" : {
91
+ "redisHost" : " 127.0.0.1:6380" ,
92
+ "redisPassword" : " "
93
+ }
94
+ },
95
+ "etcd_sequencer_demo" : {
96
+ "type" : " etcd" ,
97
+ "metadata" : {
98
+ "endpoints" : " localhost:2379" ,
99
+ "segmentCacheEnable" : " false" ,
100
+ "segmentStep" : " 1" ,
101
+ "username" : " " ,
102
+ "password" : " " ,
103
+ "dialTimeout" : " 5"
104
+ }
105
+ },
106
+ "zookeeper_sequencer_demo" : {
107
+ "type" : " zookeeper" ,
108
+ "metadata" : {
109
+ "zookeeperHosts" : " 127.0.0.1" ,
110
+ "zookeeperPassword" : " " ,
111
+ "sessionTimeout" : " 3" ,
112
+ "logInfo" : " false" ,
113
+ "keyPrefixPath" : " /"
114
+ }
115
+ }
116
+ },
117
+ "pub_subs" : {
118
+ "redis_pub_subs_demo" : {
119
+ "type" : " redis" ,
120
+ "metadata" : {
121
+ "redisHost" : " localhost:6380" ,
122
+ "redisPassword" : " "
123
+ }
124
+ }
125
+ },
126
+ "secret_store" : {
127
+ "local_file_secret_demo" : {
128
+ "type" : " local.file" ,
129
+ "metadata" : {
130
+ "secretsFile" : " ./configs/secret/config_test_secret_demo.json"
131
+ }
132
+ }
133
+ },
134
+ "app" : {
135
+ "app_id" : " app1" ,
136
+ "grpc_callback_port" : 9999
137
+ }
138
+ }
139
+ }
140
+ }
141
+ ]
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name" : " actuator" ,
147
+ "address" : " 127.0.0.1:34999" ,
148
+ "bind_port" : true ,
149
+ "filter_chains" : [
150
+ {
151
+ "filters" : [
152
+ {
153
+ "type" : " proxy" ,
154
+ "config" : {
155
+ "downstream_protocol" : " Http1" ,
156
+ "upstream_protocol" : " Http1" ,
157
+ "router_config_name" : " actuator_dont_need_router"
158
+ }
159
+ }
160
+ ]
161
+ }
162
+ ],
163
+ "stream_filters" : [
164
+ {
165
+ "type" : " actuator_filter"
166
+ }
167
+ ]
168
+ }
169
+ ]
170
+ }
171
+ ]
172
+ }
173
+
0 commit comments