mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
fix #417 when fescar upgrade 0.2.0+ configuration file changed
This commit is contained in:
parent
f66587fb32
commit
b2e4ba2620
@ -3,6 +3,8 @@ transport {
|
|||||||
type = "TCP"
|
type = "TCP"
|
||||||
#NIO NATIVE
|
#NIO NATIVE
|
||||||
server = "NIO"
|
server = "NIO"
|
||||||
|
#enable heartbeat
|
||||||
|
heartbeat = true
|
||||||
#thread factory for netty
|
#thread factory for netty
|
||||||
thread-factory {
|
thread-factory {
|
||||||
boss-thread-prefix = "NettyBoss"
|
boss-thread-prefix = "NettyBoss"
|
||||||
@ -28,3 +30,11 @@ service {
|
|||||||
#disable
|
#disable
|
||||||
disable = false
|
disable = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
client {
|
||||||
|
async.commit.buffer.limit = 10000
|
||||||
|
lock {
|
||||||
|
retry.internal = 10
|
||||||
|
retry.times = 30
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
registry {
|
||||||
|
# file 、nacos 、redis
|
||||||
|
type = "file"
|
||||||
|
|
||||||
|
nacos {
|
||||||
|
serverAddr = "localhost"
|
||||||
|
namespace = "public"
|
||||||
|
cluster = "default"
|
||||||
|
}
|
||||||
|
redis {
|
||||||
|
serverAddr = "localhost:6379"
|
||||||
|
db = "0"
|
||||||
|
}
|
||||||
|
file {
|
||||||
|
name = "file.conf"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
config {
|
||||||
|
# file nacos apollo
|
||||||
|
type = "file"
|
||||||
|
|
||||||
|
nacos {
|
||||||
|
serverAddr = "localhost"
|
||||||
|
namespace = "public"
|
||||||
|
cluster = "default"
|
||||||
|
}
|
||||||
|
apollo {
|
||||||
|
app.id = "fescar-server"
|
||||||
|
apollo.meta = "http://192.168.1.204:8801"
|
||||||
|
}
|
||||||
|
file {
|
||||||
|
name = "file.conf"
|
||||||
|
}
|
||||||
|
}
|
@ -3,6 +3,8 @@ transport {
|
|||||||
type = "TCP"
|
type = "TCP"
|
||||||
#NIO NATIVE
|
#NIO NATIVE
|
||||||
server = "NIO"
|
server = "NIO"
|
||||||
|
#enable heartbeat
|
||||||
|
heartbeat = true
|
||||||
#thread factory for netty
|
#thread factory for netty
|
||||||
thread-factory {
|
thread-factory {
|
||||||
boss-thread-prefix = "NettyBoss"
|
boss-thread-prefix = "NettyBoss"
|
||||||
@ -28,3 +30,11 @@ service {
|
|||||||
#disable
|
#disable
|
||||||
disable = false
|
disable = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
client {
|
||||||
|
async.commit.buffer.limit = 10000
|
||||||
|
lock {
|
||||||
|
retry.internal = 10
|
||||||
|
retry.times = 30
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
registry {
|
||||||
|
# file 、nacos 、redis
|
||||||
|
type = "file"
|
||||||
|
|
||||||
|
nacos {
|
||||||
|
serverAddr = "localhost"
|
||||||
|
namespace = "public"
|
||||||
|
cluster = "default"
|
||||||
|
}
|
||||||
|
redis {
|
||||||
|
serverAddr = "localhost:6379"
|
||||||
|
db = "0"
|
||||||
|
}
|
||||||
|
file {
|
||||||
|
name = "file.conf"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
config {
|
||||||
|
# file nacos apollo
|
||||||
|
type = "file"
|
||||||
|
|
||||||
|
nacos {
|
||||||
|
serverAddr = "localhost"
|
||||||
|
namespace = "public"
|
||||||
|
cluster = "default"
|
||||||
|
}
|
||||||
|
apollo {
|
||||||
|
app.id = "fescar-server"
|
||||||
|
apollo.meta = "http://192.168.1.204:8801"
|
||||||
|
}
|
||||||
|
file {
|
||||||
|
name = "file.conf"
|
||||||
|
}
|
||||||
|
}
|
@ -3,6 +3,8 @@ transport {
|
|||||||
type = "TCP"
|
type = "TCP"
|
||||||
#NIO NATIVE
|
#NIO NATIVE
|
||||||
server = "NIO"
|
server = "NIO"
|
||||||
|
#enable heartbeat
|
||||||
|
heartbeat = true
|
||||||
#thread factory for netty
|
#thread factory for netty
|
||||||
thread-factory {
|
thread-factory {
|
||||||
boss-thread-prefix = "NettyBoss"
|
boss-thread-prefix = "NettyBoss"
|
||||||
@ -28,3 +30,11 @@ service {
|
|||||||
#disable
|
#disable
|
||||||
disable = false
|
disable = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
client {
|
||||||
|
async.commit.buffer.limit = 10000
|
||||||
|
lock {
|
||||||
|
retry.internal = 10
|
||||||
|
retry.times = 30
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
registry {
|
||||||
|
# file 、nacos 、redis
|
||||||
|
type = "file"
|
||||||
|
|
||||||
|
nacos {
|
||||||
|
serverAddr = "localhost"
|
||||||
|
namespace = "public"
|
||||||
|
cluster = "default"
|
||||||
|
}
|
||||||
|
redis {
|
||||||
|
serverAddr = "localhost:6379"
|
||||||
|
db = "0"
|
||||||
|
}
|
||||||
|
file {
|
||||||
|
name = "file.conf"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
config {
|
||||||
|
# file nacos apollo
|
||||||
|
type = "file"
|
||||||
|
|
||||||
|
nacos {
|
||||||
|
serverAddr = "localhost"
|
||||||
|
namespace = "public"
|
||||||
|
cluster = "default"
|
||||||
|
}
|
||||||
|
apollo {
|
||||||
|
app.id = "fescar-server"
|
||||||
|
apollo.meta = "http://192.168.1.204:8801"
|
||||||
|
}
|
||||||
|
file {
|
||||||
|
name = "file.conf"
|
||||||
|
}
|
||||||
|
}
|
@ -3,6 +3,8 @@ transport {
|
|||||||
type = "TCP"
|
type = "TCP"
|
||||||
#NIO NATIVE
|
#NIO NATIVE
|
||||||
server = "NIO"
|
server = "NIO"
|
||||||
|
#enable heartbeat
|
||||||
|
heartbeat = true
|
||||||
#thread factory for netty
|
#thread factory for netty
|
||||||
thread-factory {
|
thread-factory {
|
||||||
boss-thread-prefix = "NettyBoss"
|
boss-thread-prefix = "NettyBoss"
|
||||||
@ -28,3 +30,11 @@ service {
|
|||||||
#disable
|
#disable
|
||||||
disable = false
|
disable = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
client {
|
||||||
|
async.commit.buffer.limit = 10000
|
||||||
|
lock {
|
||||||
|
retry.internal = 10
|
||||||
|
retry.times = 30
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
registry {
|
||||||
|
# file 、nacos 、redis
|
||||||
|
type = "file"
|
||||||
|
|
||||||
|
nacos {
|
||||||
|
serverAddr = "localhost"
|
||||||
|
namespace = "public"
|
||||||
|
cluster = "default"
|
||||||
|
}
|
||||||
|
redis {
|
||||||
|
serverAddr = "localhost:6379"
|
||||||
|
db = "0"
|
||||||
|
}
|
||||||
|
file {
|
||||||
|
name = "file.conf"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
config {
|
||||||
|
# file nacos apollo
|
||||||
|
type = "file"
|
||||||
|
|
||||||
|
nacos {
|
||||||
|
serverAddr = "localhost"
|
||||||
|
namespace = "public"
|
||||||
|
cluster = "default"
|
||||||
|
}
|
||||||
|
apollo {
|
||||||
|
app.id = "fescar-server"
|
||||||
|
apollo.meta = "http://192.168.1.204:8801"
|
||||||
|
}
|
||||||
|
file {
|
||||||
|
name = "file.conf"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user