Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-opsdoc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dc36aa75
authored
Apr 28, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改配置
1 parent
a54267df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
1.6.0_四月/1.6.0配置中心配置.md
1.6.0_四月/1.6.0配置中心配置.md
View file @
dc36aa7
...
@@ -442,6 +442,24 @@ spring.cloud.gateway.routes[8].filters[1]=DedupeResponseHeader=Access-Control-Al
...
@@ -442,6 +442,24 @@ spring.cloud.gateway.routes[8].filters[1]=DedupeResponseHeader=Access-Control-Al
### 1、开发配置
### 1、开发配置
```
properties
```
properties
#业务Kafka配置
#zookeeper.connect
biz.kafka.config.connect
=
192.168.3.131:2181
#zookeeper.connect.timeout.ms
biz.kafka.config.connectTimeout
=
40000
#zookeeper.session.timeout.ms
biz.kafka.config.sessionTimeout
=
40000
#group.id
biz.kafka.config.groupID
=
kafka-consumer-204
#rebalance.backoff.ms
biz.kafka.config.rebalanceBackoff
=
3000
#rebalance.max.retries
biz.kafka.config.rebalanceMaxRetries
=
10
#commit.interval.ms
biz.kafka.config.autoCommitInterval
=
60000
#auto.offset.reset
biz.kafka.config.autoOffsetReset
=
smallest
#警情报警Topic
#警情报警Topic
mq.kafka.fence.alarm.topic
=
gps_fence_alarm_neshield
mq.kafka.fence.alarm.topic
=
gps_fence_alarm_neshield
#设备行程
#设备行程
...
@@ -455,6 +473,24 @@ mq.kafka.device.battery.topic=topic_device_battery
...
@@ -455,6 +473,24 @@ mq.kafka.device.battery.topic=topic_device_battery
### 2、测试配置
### 2、测试配置
```
properties
```
properties
#业务Kafka配置
#zookeeper.connect
biz.kafka.config.connect
=
192.168.3.131:2181
#zookeeper.connect.timeout.ms
biz.kafka.config.connectTimeout
=
40000
#zookeeper.session.timeout.ms
biz.kafka.config.sessionTimeout
=
40000
#group.id
biz.kafka.config.groupID
=
kafka-consumer-204
#rebalance.backoff.ms
biz.kafka.config.rebalanceBackoff
=
3000
#rebalance.max.retries
biz.kafka.config.rebalanceMaxRetries
=
10
#commit.interval.ms
biz.kafka.config.autoCommitInterval
=
60000
#auto.offset.reset
biz.kafka.config.autoOffsetReset
=
smallest
#警情报警Topic
#警情报警Topic
mq.kafka.fence.alarm.topic
=
gps_fence_alarm_neshield
mq.kafka.fence.alarm.topic
=
gps_fence_alarm_neshield
#设备行程
#设备行程
...
@@ -468,6 +504,24 @@ mq.kafka.device.battery.topic=topic_device_battery
...
@@ -468,6 +504,24 @@ mq.kafka.device.battery.topic=topic_device_battery
### 3、生产配置
### 3、生产配置
```
properties
```
properties
#业务Kafka配置
#zookeeper.connect
biz.kafka.config.connect
=
biz.kafka.glsx.com:2183
#zookeeper.connect.timeout.ms
biz.kafka.config.connectTimeout
=
40000
#zookeeper.session.timeout.ms
biz.kafka.config.sessionTimeout
=
40000
#group.id
biz.kafka.config.groupID
=
kafka-consumer-drive-3
#rebalance.backoff.ms
biz.kafka.config.rebalanceBackoff
=
3000
#rebalance.max.retries
biz.kafka.config.rebalanceMaxRetries
=
10
#commit.interval.ms
biz.kafka.config.autoCommitInterval
=
60000
#auto.offset.reset
biz.kafka.config.autoOffsetReset
=
smallest
#警情报警Topic
#警情报警Topic
mq.kafka.fence.alarm.topic
=
gps_fence_alarm_neshield
mq.kafka.fence.alarm.topic
=
gps_fence_alarm_neshield
#设备行程
#设备行程
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment