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
shenyu:
register:
register_type: "http"
servers: "http://127.0.0.1:9095"
namespace_id: "testNamespaceId"
props:
username: "admin"
password: "123456"
uri:
app_name: "app1"
host: "127.0.0.1"
port: 8000
context_path: "/xxx"
environment: "test"
rpc_type: "http"
discovery:
protocol: "http://"
discovery_type: "zookeeper"
server_lists: "127.0.0.1:2181"
register_path: "/shenyu/discovery/http_example"
plugin_name: ""
props:
baseSleepTimeMilliseconds: 1000
maxRetries: 4
maxSleepTimeMilliseconds: 5000
connectionTimeoutMilliseconds: 60000
sessionTimeoutMilliseconds: 8
# discovery_type: "nacos"
# server_lists: "http://127.0.0.1:8848"
# register_path: "/shenyu/discovery/http_example"
# discovery_type: "eureka"
# server_lists: "http://127.0.0.1:8761/eureka"
# register_path: "shenyu_discovery_http_example"
# discovery_type: "etcd"
# server_lists: "http://127.0.0.1:2379"
# register_path: "shenyu_discovery_http_example"