1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Merge pull request #418 from slievrly/master

fix #417 when fescar upgrade 0.2.0+ configuration file changed
This commit is contained in:
format 2019-03-12 15:07:09 +08:00 committed by GitHub
commit 43f23a604e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 180 additions and 0 deletions

View File

@ -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
}
}

View File

@ -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"
}
}

View File

@ -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
}
}

View File

@ -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"
}
}

View File

@ -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
}
}

View File

@ -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"
}
}

View File

@ -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
}
}

View File

@ -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"
}
}